Leaked source code of windows server 2003
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.

38 lines
1.7 KiB

  1. class CICWWebView : public IICWWebView
  2. {
  3. public:
  4. CICWWebView (CServer* pServer);
  5. ~CICWWebView (void);
  6. // IICWWebView
  7. virtual HRESULT STDMETHODCALLTYPE HandleKey (LPMSG lpMsg);
  8. virtual HRESULT STDMETHODCALLTYPE SetFocus (void);
  9. virtual HRESULT STDMETHODCALLTYPE ConnectToWindow (HWND hWnd, DWORD dwHtmPageType);
  10. #ifndef UNICODE
  11. virtual HRESULT STDMETHODCALLTYPE DisplayHTML (TCHAR * lpszURL);
  12. #endif
  13. virtual HRESULT STDMETHODCALLTYPE DisplayHTML (BSTR bstrURL);
  14. virtual HRESULT STDMETHODCALLTYPE SetHTMLColors (LPTSTR lpszForeground, LPTSTR lpszBackground);
  15. virtual HRESULT STDMETHODCALLTYPE SetHTMLBackgroundBitmap (HBITMAP hbm, LPRECT lpRC);
  16. virtual HRESULT STDMETHODCALLTYPE get_BrowserObject (IWebBrowser2 **lpWebBrowser);
  17. // IUNKNOWN
  18. virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID theGUID, void** retPtr );
  19. virtual ULONG STDMETHODCALLTYPE AddRef (void);
  20. virtual ULONG STDMETHODCALLTYPE Release (void);
  21. //public members
  22. COleSite FAR* m_lpOleSite; // Each instance of the ICWWebView object will need an OLE site
  23. private:
  24. LONG m_lRefCount;
  25. IUnknown* m_pUnkOuter; // Outer unknown (aggregation & delegation).
  26. CServer* m_pServer; // Pointer to this component server's control object.
  27. BOOL m_bUseBkGndBitmap;
  28. HBITMAP m_hBkGrndBitmap;
  29. RECT m_rcBkGrnd;
  30. TCHAR m_szBkGrndColor [MAX_COLOR_NAME];
  31. TCHAR m_szForeGrndColor [MAX_COLOR_NAME];
  32. };