Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cOleWebAtl.h
Go to the documentation of this file.
1 //
4 //
5 #ifndef _INC_cOleWebAtl_H
6 #define _INC_cOleWebAtl_H
7 #ifndef NO_PRAGMA_ONCE
8 #pragma once
9 #endif
10 #include "cOleWebBase.h"
11 
12 #if defined(_WIN32) && defined(_MSC_VER)
13 
14 namespace GrayLib
15 {
16  class GRAYLIB_LINK cOleWebAtl : public cOleWebBase
17  {
22 
23  typedef cOleWebBase SUPER_t;
24 
25  public:
26  static const GChar_t* k_pszWindowClass;
27 
28  protected:
29  static HRESULT GRAYCALL FindDocElement(IHTMLDocument2* pHtmlDoc, cIUnkPtr<IDispatch>& pDispatchElem, const char* pszName = nullptr, int iNum = 0);
30 
31  public:
32  cOleWebAtl(INT_PTR m_nChildId, IOleWebListener* pAtlListener, cOleWebBrowserRedir* pBrowserRedir);
33  virtual ~cOleWebAtl(void);
34 
35  virtual HRESULT InitOleControl(OLE_WINDOW_TYPE eDesireWindowType, bool bDesireTransparent = false) override;
36  virtual HRESULT LoadOleContent(const FILECHAR_t* pszFullPath) override;
37  virtual HRESULT WaitForLoadComplete(TIMESYSD_t tWait, bool bMsgLoop) override;
38  };
39 }
40 #endif
41 #endif
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: cMesh.h:22
INT32 TIMESYSD_t
Time delta. signed milli-Seconds Span. cTimeSys::k_DMAX, cTimeSys::k_INF = MAILSLOT_WAIT_FOREVER.
Definition: cTimeSys.h:28
char FILECHAR_t
a UTF8 char in a file name. like TCHAR
Definition: FileName.h:22
char GChar_t
My version of TCHAR, _TCHAR.
Definition: StrConst.h:26