Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
2.5 KiB

  1. #ifndef __WEBBROWS_H__
  2. #define __WEBBROWS_H__
  3. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  4. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  5. // Microsoft Visual C++, your modifications will be overwritten.
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CWebBrowser wrapper class
  8. class CWebBrowser : public CWnd
  9. {
  10. protected:
  11. DECLARE_DYNCREATE(CWebBrowser)
  12. public:
  13. CLSID const& GetClsid()
  14. {
  15. static CLSID const clsid
  16. = { 0xeab22ac3, 0x30c1, 0x11cf, { 0xa7, 0xeb, 0x0, 0x0, 0xc0, 0x5b, 0xae, 0xb } };
  17. return clsid;
  18. }
  19. virtual BOOL Create(LPCTSTR lpszClassName,
  20. LPCTSTR lpszWindowName, DWORD dwStyle,
  21. const RECT& rect,
  22. CWnd* pParentWnd, UINT nID,
  23. CCreateContext* pContext = NULL)
  24. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  25. BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  26. const RECT& rect, CWnd* pParentWnd, UINT nID,
  27. CFile* pPersist = NULL, BOOL bStorage = FALSE,
  28. BSTR bstrLicKey = NULL)
  29. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  30. pPersist, bStorage, bstrLicKey); }
  31. // Attributes
  32. public:
  33. // Operations
  34. public:
  35. // method 'QueryInterface' not emitted because of invalid return type or parameter type
  36. unsigned long AddRef();
  37. unsigned long Release();
  38. // method 'GetTypeInfoCount' not emitted because of invalid return type or parameter type
  39. // method 'GetTypeInfo' not emitted because of invalid return type or parameter type
  40. // method 'GetIDsOfNames' not emitted because of invalid return type or parameter type
  41. // method 'Invoke' not emitted because of invalid return type or parameter type
  42. void GoBack();
  43. void GoForward();
  44. void GoHome();
  45. void GoSearch();
  46. void Navigate(LPCTSTR URL, VARIANT* Flags, VARIANT* TargetFrameName, VARIANT* PostData, VARIANT* Headers);
  47. void Refresh();
  48. void Refresh2(VARIANT* Level);
  49. void Stop();
  50. LPDISPATCH GetApplication();
  51. LPDISPATCH GetParent();
  52. LPDISPATCH GetContainer();
  53. LPDISPATCH GetDocument();
  54. BOOL GetTopLevelContainer();
  55. CString GetType();
  56. long GetLeft();
  57. void SetLeft(long nNewValue);
  58. long GetTop();
  59. void SetTop(long nNewValue);
  60. long GetWidth();
  61. void SetWidth(long nNewValue);
  62. long GetHeight();
  63. void SetHeight(long nNewValue);
  64. CString GetLocationName();
  65. CString GetLocationURL();
  66. BOOL GetBusy();
  67. };
  68. #endif // __WEBBROWS_H__