5 #ifndef _INC_cOleWindowProxy_H
6 #define _INC_cOleWindowProxy_H
12 #include "../Windows/cWindow.h"
15 #if defined(_WIN32) && defined(_MSC_VER)
20 :
public cOleWindowBase
28 typedef cOleWindowBase SUPER_t;
31 static const GChar_t*
const k_pszWindowClass;
32 static ATOM sm_aClass;
37 cOleWindowProxy(cOleControl* pParentControl, HWND hWnd =
WINHANDLE_NULL);
38 virtual ~cOleWindowProxy(
void);
42 virtual HRESULT InitInstance()
override;
43 virtual bool CheckRectDirty()
override;
44 virtual HRESULT DrawControl(HDC hDC, DWORD dwDrawAspect)
override;
45 virtual LRESULT OnWindowMessage1(MSG& sMsg)
override;
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
#define WINHANDLE_NULL
HWND, HPEN, etc are NOT OS Handles. like HWND_DESKTOP. like HANDLEPTR_NULL. This is a WINAPI void* ha...
Definition: cOSHandle.h:23
char GChar_t
My version of TCHAR, _TCHAR.
Definition: StrConst.h:26