| 1 |
#if !defined(AFX_WEBBROWSER2_H__F27AB0C0_4B24_4701_8287_CD129DA17BD5__INCLUDED_) |
|---|
| 2 |
#define AFX_WEBBROWSER2_H__F27AB0C0_4B24_4701_8287_CD129DA17BD5__INCLUDED_ |
|---|
| 3 |
|
|---|
| 4 |
#if _MSC_VER > 1000 |
|---|
| 5 |
#pragma once |
|---|
| 6 |
#endif // _MSC_VER > 1000 |
|---|
| 7 |
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ |
|---|
| 8 |
|
|---|
| 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. |
|---|
| 11 |
|
|---|
| 12 |
///////////////////////////////////////////////////////////////////////////// |
|---|
| 13 |
// CWebBrowser2 wrapper class |
|---|
| 14 |
|
|---|
| 15 |
class CWebBrowser2 : public CWnd |
|---|
| 16 |
{ |
|---|
| 17 |
protected: |
|---|
| 18 |
DECLARE_DYNCREATE(CWebBrowser2) |
|---|
| 19 |
public: |
|---|
| 20 |
CLSID const& GetClsid() |
|---|
| 21 |
{ |
|---|
| 22 |
static CLSID const clsid |
|---|
| 23 |
= { 0x8856f961, 0x340a, 0x11d0, { 0xa9, 0x6b, 0x0, 0xc0, 0x4f, 0xd7, 0x5, 0xa2 } }; |
|---|
| 24 |
return clsid; |
|---|
| 25 |
} |
|---|
| 26 |
virtual BOOL Create(LPCTSTR lpszClassName, |
|---|
| 27 |
LPCTSTR lpszWindowName, DWORD dwStyle, |
|---|
| 28 |
const RECT& rect, |
|---|
| 29 |
CWnd* pParentWnd, UINT nID, |
|---|
| 30 |
CCreateContext* pContext = NULL) |
|---|
| 31 |
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); } |
|---|
| 32 |
|
|---|
| 33 |
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle, |
|---|
| 34 |
const RECT& rect, CWnd* pParentWnd, UINT nID, |
|---|
| 35 |
CFile* pPersist = NULL, BOOL bStorage = FALSE, |
|---|
| 36 |
BSTR bstrLicKey = NULL) |
|---|
| 37 |
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID, |
|---|
| 38 |
pPersist, bStorage, bstrLicKey); } |
|---|
| 39 |
|
|---|
| 40 |
// Attributes |
|---|
| 41 |
public: |
|---|
| 42 |
|
|---|
| 43 |
// Operations |
|---|
| 44 |
public: |
|---|
| 45 |
void GoBack(); |
|---|
| 46 |
void GoForward(); |
|---|
| 47 |
void GoHome(); |
|---|
| 48 |
void GoSearch(); |
|---|
| 49 |
void Navigate(LPCTSTR URL, VARIANT* Flags, VARIANT* TargetFrameName, VARIANT* PostData, VARIANT* Headers); |
|---|
| 50 |
void Refresh(); |
|---|
| 51 |
void Refresh2(VARIANT* Level); |
|---|
| 52 |
void Stop(); |
|---|
| 53 |
LPDISPATCH GetApplication(); |
|---|
| 54 |
LPDISPATCH GetParent(); |
|---|
| 55 |
LPDISPATCH GetContainer(); |
|---|
| 56 |
LPDISPATCH GetDocument(); |
|---|
| 57 |
BOOL GetTopLevelContainer(); |
|---|
| 58 |
CString GetType(); |
|---|
| 59 |
long GetLeft(); |
|---|
| 60 |
void SetLeft(long nNewValue); |
|---|
| 61 |
long GetTop(); |
|---|
| 62 |
void SetTop(long nNewValue); |
|---|
| 63 |
long GetWidth(); |
|---|
| 64 |
void SetWidth(long nNewValue); |
|---|
| 65 |
long GetHeight(); |
|---|
| 66 |
void SetHeight(long nNewValue); |
|---|
| 67 |
CString GetLocationName(); |
|---|
| 68 |
CString GetLocationURL(); |
|---|
| 69 |
BOOL GetBusy(); |
|---|
| 70 |
void Quit(); |
|---|
| 71 |
void ClientToWindow(long* pcx, long* pcy); |
|---|
| 72 |
void PutProperty(LPCTSTR Property_, const VARIANT& vtValue); |
|---|
| 73 |
VARIANT GetProperty_(LPCTSTR Property_); |
|---|
| 74 |
CString GetName(); |
|---|
| 75 |
long GetHwnd(); |
|---|
| 76 |
CString GetFullName(); |
|---|
| 77 |
CString GetPath(); |
|---|
| 78 |
BOOL GetVisible(); |
|---|
| 79 |
void SetVisible(BOOL bNewValue); |
|---|
| 80 |
BOOL GetStatusBar(); |
|---|
| 81 |
void SetStatusBar(BOOL bNewValue); |
|---|
| 82 |
CString GetStatusText(); |
|---|
| 83 |
void SetStatusText(LPCTSTR lpszNewValue); |
|---|
| 84 |
long GetToolBar(); |
|---|
| 85 |
void SetToolBar(long nNewValue); |
|---|
| 86 |
BOOL GetMenuBar(); |
|---|
| 87 |
void SetMenuBar(BOOL bNewValue); |
|---|
| 88 |
BOOL GetFullScreen(); |
|---|
| 89 |
void SetFullScreen(BOOL bNewValue); |
|---|
| 90 |
void Navigate2(VARIANT* URL, VARIANT* Flags, VARIANT* TargetFrameName, VARIANT* PostData, VARIANT* Headers); |
|---|
| 91 |
long QueryStatusWB(long cmdID); |
|---|
| 92 |
void ExecWB(long cmdID, long cmdexecopt, VARIANT* pvaIn, VARIANT* pvaOut); |
|---|
| 93 |
void ShowBrowserBar(VARIANT* pvaClsid, VARIANT* pvarShow, VARIANT* pvarSize); |
|---|
| 94 |
long GetReadyState(); |
|---|
| 95 |
BOOL GetOffline(); |
|---|
| 96 |
void SetOffline(BOOL bNewValue); |
|---|
| 97 |
BOOL GetSilent(); |
|---|
| 98 |
void SetSilent(BOOL bNewValue); |
|---|
| 99 |
BOOL GetRegisterAsBrowser(); |
|---|
| 100 |
void SetRegisterAsBrowser(BOOL bNewValue); |
|---|
| 101 |
BOOL GetRegisterAsDropTarget(); |
|---|
| 102 |
void SetRegisterAsDropTarget(BOOL bNewValue); |
|---|
| 103 |
BOOL GetTheaterMode(); |
|---|
| 104 |
void SetTheaterMode(BOOL bNewValue); |
|---|
| 105 |
BOOL GetAddressBar(); |
|---|
| 106 |
void SetAddressBar(BOOL bNewValue); |
|---|
| 107 |
BOOL GetResizable(); |
|---|
| 108 |
void SetResizable(BOOL bNewValue); |
|---|
| 109 |
}; |
|---|
| 110 |
|
|---|
| 111 |
//{{AFX_INSERT_LOCATION}} |
|---|
| 112 |
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. |
|---|
| 113 |
|
|---|
| 114 |
#endif // !defined(AFX_WEBBROWSER2_H__F27AB0C0_4B24_4701_8287_CD129DA17BD5__INCLUDED_) |
|---|