7 STDMETHOD_(
long, AddRef)(THIS) PURE;
15 STDMETHOD_(
long, Release)(THIS) PURE;
21 STDMETHOD_(
void, OnFinalRelease)(THIS) PURE;
40 STDMETHOD_(HWND, CreateNative)
41 (THIS_ LPCTSTR lpWindowName, DWORD dwStyle, DWORD dwExStyle,
int x,
int y,
int nWidth,
int nHeight, HWND hWndParent,
int nID, LPVOID lpParam) PURE;
48 STDMETHOD_(HWND, GetHwnd)(THIS) PURE;
56 STDMETHOD_(BOOL, SubclassWindow)(THIS_ HWND hWnd) PURE;
64 STDMETHOD_(HWND, UnsubclassWindow)(THIS_ BOOL bForce ) PURE;
71 STDMETHOD_(
const MSG *, GetCurrentMessage)(CTHIS) SCONST PURE;
78 STDMETHOD_(
int, GetDlgCtrlID)(CTHIS) SCONST PURE;
85 STDMETHOD_(DWORD, GetStyle)(CTHIS) SCONST PURE;
92 STDMETHOD_(DWORD, GetExStyle)(CTHIS) SCONST PURE;
100 STDMETHOD_(LONG_PTR, GetWindowLongPtr)(CTHIS_
int nIndex) SCONST PURE;
109 STDMETHOD_(LONG_PTR, SetWindowLongPtr)(THIS_
int nIndex, LONG_PTR dwNewLong) PURE;
116 STDMETHOD_(HWND, GetParent)(THIS) PURE;
124 STDMETHOD_(HWND, SetParent)(THIS_ HWND hWndNewParent) PURE;
131 STDMETHOD_(BOOL, IsWindowEnabled)(CTHIS) SCONST PURE;
141 STDMETHOD_(BOOL, ModifyStyle)(THIS_ DWORD dwRemove, DWORD dwAdd, UINT nFlags ) PURE;
151 STDMETHOD_(BOOL, ModifyStyleEx)(THIS_ DWORD dwRemove, DWORD dwAdd, UINT nFlags ) PURE;
164 STDMETHOD_(BOOL, SetWindowPos)
165 (THIS_ HWND hWndInsertAfter,
int x,
int y,
int cx,
int cy, UINT nFlags) PURE;
173 STDMETHOD_(BOOL, CenterWindow)(THIS_ HWND hWndCenter ) PURE;
180 STDMETHOD_(BOOL, DestroyWindow)(THIS) PURE;
187 STDMETHOD_(BOOL, IsWindow)(CTHIS) SCONST PURE;
195 STDMETHOD_(BOOL, Invalidate)(THIS_ BOOL bErase ) PURE;
204 STDMETHOD_(BOOL, InvalidateRect)(THIS_ LPCRECT lpRect, BOOL bErase ) PURE;
212 STDMETHOD_(BOOL, GetWindowRect)(CTHIS_ LPRECT lpRect) SCONST PURE;
220 STDMETHOD_(BOOL, GetClientRect)(CTHIS_ LPRECT lpRect) SCONST PURE;
228 STDMETHOD_(BOOL, ClientToScreen)(CTHIS_ LPPOINT lpPoint) SCONST PURE;
236 STDMETHOD_(BOOL, ClientToScreen2)(CTHIS_ LPRECT lpRect) SCONST PURE;
244 STDMETHOD_(BOOL, ScreenToClient)(CTHIS_ LPPOINT lpPoint) SCONST PURE;
252 STDMETHOD_(BOOL, ScreenToClient2)(CTHIS_ LPRECT lpRect) SCONST PURE;
262 STDMETHOD_(
int, MapWindowPoints)(CTHIS_ HWND hWndTo, LPPOINT lpPoint, UINT nCount) SCONST PURE;
271 STDMETHOD_(
int, MapWindowRect)(CTHIS_ HWND hWndTo, LPRECT lpRect) SCONST PURE;
281 STDMETHOD_(UINT_PTR, SetTimer)
282 (THIS_ UINT_PTR nIDEvent, UINT nElapse, void(CALLBACK *lpfnTimer)(HWND, UINT, UINT_PTR, DWORD) ) PURE;
290 STDMETHOD_(BOOL, KillTimer)(THIS_ UINT_PTR nIDEvent) PURE;
297 STDMETHOD_(HDC, GetDC)(THIS) PURE;
304 STDMETHOD_(HDC, GetWindowDC)(THIS) PURE;
312 STDMETHOD_(
int, ReleaseDC)(THIS_ HDC hDC) PURE;
322 STDMETHOD_(BOOL, CreateCaret)(THIS_ HBITMAP hBitmap,
int nWidth,
int nHeight) PURE;
329 STDMETHOD_(BOOL, HideCaret)(THIS) PURE;
336 STDMETHOD_(BOOL, ShowCaret)(THIS) PURE;
343 STDMETHOD_(HWND, GetCapture)(THIS) PURE;
350 STDMETHOD_(HWND, SetCapture)(THIS) PURE;
357 STDMETHOD_(BOOL, ReleaseCapture)(THIS) PURE;
364 STDMETHOD_(HWND, SetFocus)(THIS) PURE;
374 STDMETHOD_(LRESULT, SendMessage)
375 (THIS_ UINT message, WPARAM wParam , LPARAM lParam ) PURE;
385 STDMETHOD_(BOOL, PostMessage)
386 (THIS_ UINT message, WPARAM wParam , LPARAM lParam ) PURE;
396 STDMETHOD_(BOOL, SendNotifyMessage)
397 (THIS_ UINT message, WPARAM wParam , LPARAM lParam ) PURE;
405 STDMETHOD_(BOOL, SetWindowText)(THIS_ LPCTSTR lpszString) PURE;
414 STDMETHOD_(
int, GetWindowText)(CTHIS_ LPTSTR lpszStringBuf,
int nMaxCount) SCONST PURE;
421 STDMETHOD_(BOOL, IsIconic)(CTHIS) SCONST PURE;
428 STDMETHOD_(BOOL, IsZoomed)(CTHIS) SCONST PURE;
435 STDMETHOD_(BOOL, IsWindowVisible)(CTHIS) SCONST PURE;
447 STDMETHOD_(BOOL, MoveWindow)
448 (THIS_
int x,
int y,
int nWidth,
int nHeight, BOOL bRepaint ) PURE;
457 STDMETHOD_(BOOL, MoveWindow2)(THIS_ LPCRECT lpRect, BOOL bRepaint ) PURE;
465 STDMETHOD_(BOOL, ShowWindow)(THIS_
int nCmdShow) PURE;
474 STDMETHOD_(
int, SetWindowRgn)(THIS_ HRGN hRgn, BOOL bRedraw ) PURE;
484 STDMETHOD_(BOOL, SetLayeredWindowAttributes)
485 (THIS_ COLORREF crKey, BYTE bAlpha, DWORD dwFlags) PURE;
500 STDMETHOD_(BOOL, UpdateLayeredWindow)
501 (THIS_ HDC hdcDst, POINT *pptDst, SIZE *psize, HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend, DWORD dwFlags) PURE;
509 STDMETHOD_(
void, SetMsgHandler)(THIS_ FunMsgHandler fun,
void *ctx) PURE;
Structure containing message handler information.