1 #if !defined(AFX_WEBBROWSER2_H__411A6586_69C9_4F68_BEFF_1A9F7B70DE86__INCLUDED_)
2 #define AFX_WEBBROWSER2_H__411A6586_69C9_4F68_BEFF_1A9F7B70DE86__INCLUDED_
6 #endif // _MSC_VER > 1000
7 // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
9 // NOTE: Do not modify the contents of this file. If this class is regenerated by
10 // Microsoft Visual C++, your modifications will be overwritten.
12 /////////////////////////////////////////////////////////////////////////////
13 // CWebBrowser2 wrapper class
15 class CWebBrowser2
: public CWnd
18 DECLARE_DYNCREATE(CWebBrowser2
)
20 CLSID
const& GetClsid()
23 static const CLSID clsid
24 = { 0x1339B54C, 0x3453, 0x11D2, { 0x93, 0xB9, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } };
25 // static CLSID const clsid
26 // = { 0x8856f961, 0x340a, 0x11d0, { 0xa9, 0x6b, 0x00, 0xc0, 0x4f, 0xd7, 0x05, 0xa2 } };
29 virtual BOOL
Create(LPCTSTR lpszClassName
,
30 LPCTSTR lpszWindowName
, DWORD dwStyle
,
32 CWnd
* pParentWnd
, UINT nID
,
33 CCreateContext
* pContext
= NULL
)
34 { return CreateControl(GetClsid(), lpszWindowName
, dwStyle
, rect
, pParentWnd
, nID
); }
36 BOOL
Create(LPCTSTR lpszWindowName
, DWORD dwStyle
,
37 const RECT
& rect
, CWnd
* pParentWnd
, UINT nID
,
38 CFile
* pPersist
= NULL
, BOOL bStorage
= FALSE
,
39 BSTR bstrLicKey
= NULL
)
40 { return CreateControl(GetClsid(), lpszWindowName
, dwStyle
, rect
, pParentWnd
, nID
,
41 pPersist
, bStorage
, bstrLicKey
); }
52 void Navigate(LPCTSTR URL
, VARIANT
* Flags
, VARIANT
* TargetFrameName
, VARIANT
* PostData
, VARIANT
* Headers
);
54 void Refresh2(VARIANT
* Level
);
56 LPDISPATCH
GetApplication();
57 LPDISPATCH
GetParent();
58 LPDISPATCH
GetContainer();
59 LPDISPATCH
GetDocument();
60 BOOL
GetTopLevelContainer();
63 void SetLeft(long nNewValue
);
65 void SetTop(long nNewValue
);
67 void SetWidth(long nNewValue
);
69 void SetHeight(long nNewValue
);
70 CString
GetLocationName();
71 CString
GetLocationURL();
74 void ClientToWindow(long* pcx
, long* pcy
);
75 void PutProperty(LPCTSTR Property_
, const VARIANT
& vtValue
);
76 VARIANT
GetProperty_(LPCTSTR Property_
);
79 CString
GetFullName();
82 void SetVisible(BOOL bNewValue
);
84 void SetStatusBar(BOOL bNewValue
);
85 CString
GetStatusText();
86 void SetStatusText(LPCTSTR lpszNewValue
);
88 void SetToolBar(long nNewValue
);
90 void SetMenuBar(BOOL bNewValue
);
92 void SetFullScreen(BOOL bNewValue
);
93 void Navigate2(VARIANT
* URL
, VARIANT
* Flags
, VARIANT
* TargetFrameName
, VARIANT
* PostData
, VARIANT
* Headers
);
94 long QueryStatusWB(long cmdID
);
95 void ExecWB(long cmdID
, long cmdexecopt
, VARIANT
* pvaIn
, VARIANT
* pvaOut
);
96 void ShowBrowserBar(VARIANT
* pvaClsid
, VARIANT
* pvarShow
, VARIANT
* pvarSize
);
99 void SetOffline(BOOL bNewValue
);
101 void SetSilent(BOOL bNewValue
);
102 BOOL
GetRegisterAsBrowser();
103 void SetRegisterAsBrowser(BOOL bNewValue
);
104 BOOL
GetRegisterAsDropTarget();
105 void SetRegisterAsDropTarget(BOOL bNewValue
);
106 BOOL
GetTheaterMode();
107 void SetTheaterMode(BOOL bNewValue
);
108 BOOL
GetAddressBar();
109 void SetAddressBar(BOOL bNewValue
);
111 void SetResizable(BOOL bNewValue
);
114 //{{AFX_INSERT_LOCATION}}
115 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
117 #endif // !defined(AFX_WEBBROWSER2_H__411A6586_69C9_4F68_BEFF_1A9F7B70DE86__INCLUDED_)