Fix
[ryzomcore.git] / nelns / login_system / nel_launcher_windows / webbrowser2.h
blobc91353a96617ae7c6ed3b5af9840f558fc383d4c
1 #if !defined(AFX_WEBBROWSER2_H__411A6586_69C9_4F68_BEFF_1A9F7B70DE86__INCLUDED_)
2 #define AFX_WEBBROWSER2_H__411A6586_69C9_4F68_BEFF_1A9F7B70DE86__INCLUDED_
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++
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
17 protected:
18 DECLARE_DYNCREATE(CWebBrowser2)
19 public:
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 } };
27 return clsid;
29 virtual BOOL Create(LPCTSTR lpszClassName,
30 LPCTSTR lpszWindowName, DWORD dwStyle,
31 const RECT& rect,
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); }
43 // Attributes
44 public:
46 // Operations
47 public:
48 void GoBack();
49 void GoForward();
50 void GoHome();
51 void GoSearch();
52 void Navigate(LPCTSTR URL, VARIANT* Flags, VARIANT* TargetFrameName, VARIANT* PostData, VARIANT* Headers);
53 void Refresh();
54 void Refresh2(VARIANT* Level);
55 void Stop();
56 LPDISPATCH GetApplication();
57 LPDISPATCH GetParent();
58 LPDISPATCH GetContainer();
59 LPDISPATCH GetDocument();
60 BOOL GetTopLevelContainer();
61 CString GetType();
62 long GetLeft();
63 void SetLeft(long nNewValue);
64 long GetTop();
65 void SetTop(long nNewValue);
66 long GetWidth();
67 void SetWidth(long nNewValue);
68 long GetHeight();
69 void SetHeight(long nNewValue);
70 CString GetLocationName();
71 CString GetLocationURL();
72 BOOL GetBusy();
73 void Quit();
74 void ClientToWindow(long* pcx, long* pcy);
75 void PutProperty(LPCTSTR Property_, const VARIANT& vtValue);
76 VARIANT GetProperty_(LPCTSTR Property_);
77 CString GetName();
78 long GetHwnd();
79 CString GetFullName();
80 CString GetPath();
81 BOOL GetVisible();
82 void SetVisible(BOOL bNewValue);
83 BOOL GetStatusBar();
84 void SetStatusBar(BOOL bNewValue);
85 CString GetStatusText();
86 void SetStatusText(LPCTSTR lpszNewValue);
87 long GetToolBar();
88 void SetToolBar(long nNewValue);
89 BOOL GetMenuBar();
90 void SetMenuBar(BOOL bNewValue);
91 BOOL GetFullScreen();
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);
97 long GetReadyState();
98 BOOL GetOffline();
99 void SetOffline(BOOL bNewValue);
100 BOOL GetSilent();
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);
110 BOOL GetResizable();
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_)