soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SHostWndProxy.h
1#ifndef __SHOSTWNDPROXY__H__
2#define __SHOSTWNDPROXY__H__
3
4SNSBEGIN
5
6
7template <class T>
8class THostWndProxy
9 : public T
10 , public SHostWnd {
11public:
12 THostWndProxy(LPCWSTR pszResId)
13 : SHostWnd(pszResId)
14 {
15 }
16 THostWndProxy(LPCSTR pszResId)
17 : SHostWnd(pszResId)
18 {
19 }
20
21public:
22 STDMETHOD_(long, AddRef)(THIS)
23 {
24 return SHostWnd::AddRef();
25 }
26 STDMETHOD_(long, Release)(THIS)
27 {
28 return SHostWnd::Release();
29 }
30 STDMETHOD_(void, OnFinalRelease)(THIS)
31 {
33 }
34 STDMETHOD_(int, GetID)(THIS) SCONST
35 {
36 return SHostWnd::GetID();
37 }
38 STDMETHOD_(void, SetID)(THIS_ int nID)
39 {
40 return SHostWnd::SetID(nID);
41 }
42
43 STDMETHOD_(HWND, CreateNative)
44 (THIS_ LPCTSTR lpWindowName,
45 DWORD dwStyle,
46 DWORD dwExStyle,
47 int x,
48 int y,
49 int nWidth,
50 int nHeight,
51 HWND hWndParent,
52 int nID,
53 LPVOID lpParam) OVERRIDE
54 {
55 return SHostWnd::CreateNative(lpWindowName, dwStyle, dwExStyle, x, y, nWidth, nHeight,
56 hWndParent, nID, lpParam);
57 }
58
59 STDMETHOD_(HWND, GetHwnd)(THIS) OVERRIDE
60 {
61 return SHostWnd::GetHwnd();
62 }
63
64 STDMETHOD_(BOOL, SubclassWindow)(THIS_ HWND hWnd) OVERRIDE
65 {
66 return SHostWnd::SubclassWindow(hWnd);
67 }
68 STDMETHOD_(HWND, UnsubclassWindow)(THIS_ BOOL bForce = FALSE) OVERRIDE
69 {
70 return SHostWnd::UnsubclassWindow(bForce);
71 }
72 STDMETHOD_(const MSG *, GetCurrentMessage)(THIS) SCONST OVERRIDE
73 {
75 }
76 STDMETHOD_(int, GetDlgCtrlID)(THIS) SCONST OVERRIDE
77 {
79 }
80 STDMETHOD_(DWORD, GetStyle)(THIS) SCONST OVERRIDE
81 {
82 return SHostWnd::GetStyle();
83 }
84 STDMETHOD_(DWORD, GetExStyle)(THIS) SCONST OVERRIDE
85 {
86 return SHostWnd::GetExStyle();
87 }
88 STDMETHOD_(LONG_PTR, GetWindowLongPtr)(THIS_ int nIndex) SCONST OVERRIDE
89 {
90 return SHostWnd::GetWindowLongPtr(nIndex);
91 }
92 STDMETHOD_(LONG_PTR, SetWindowLongPtr)(THIS_ int nIndex, LONG_PTR dwNewLong) OVERRIDE
93 {
94 return SHostWnd::SetWindowLongPtr(nIndex, dwNewLong);
95 }
96 STDMETHOD_(HWND, GetParent)(THIS) OVERRIDE
97 {
98 return SHostWnd::GetParent();
99 }
100 STDMETHOD_(HWND, SetParent)(THIS_ HWND hWndNewParent) OVERRIDE
101 {
102 return SHostWnd::SetParent(hWndNewParent);
103 }
104 STDMETHOD_(BOOL, IsWindowEnabled)(THIS) SCONST OVERRIDE
105 {
107 }
108 STDMETHOD_(BOOL, ModifyStyle)(THIS_ DWORD dwRemove, DWORD dwAdd, UINT nFlags = 0) OVERRIDE
109 {
110 return SHostWnd::ModifyStyle(dwRemove, dwAdd, nFlags);
111 }
112 STDMETHOD_(BOOL, ModifyStyleEx)(THIS_ DWORD dwRemove, DWORD dwAdd, UINT nFlags = 0) OVERRIDE
113 {
114 return SHostWnd::ModifyStyleEx(dwRemove, dwAdd, nFlags);
115 }
116 STDMETHOD_(BOOL, SetWindowPos)
117 (THIS_ HWND hWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags) OVERRIDE
118 {
119 return SHostWnd::SetWindowPos(hWndInsertAfter, x, y, cx, cy, nFlags);
120 }
121 STDMETHOD_(BOOL, CenterWindow)(THIS_ HWND hWndCenter = NULL) OVERRIDE
122 {
123 return SHostWnd::CenterWindow(hWndCenter);
124 }
125 STDMETHOD_(BOOL, DestroyWindow)(THIS) OVERRIDE
126 {
128 }
129 STDMETHOD_(BOOL, IsWindow)(CTHIS) SCONST OVERRIDE
130 {
131 return SHostWnd::IsWindow();
132 }
133 STDMETHOD_(BOOL, Invalidate)(THIS_ BOOL bErase = TRUE) OVERRIDE
134 {
135 return SHostWnd::Invalidate(bErase);
136 }
137 STDMETHOD_(BOOL, InvalidateRect)(THIS_ LPCRECT lpRect, BOOL bErase = TRUE) OVERRIDE
138 {
139 return SHostWnd::InvalidateRect(lpRect, bErase);
140 }
141 STDMETHOD_(BOOL, GetWindowRect)(THIS_ LPRECT lpRect) SCONST OVERRIDE
142 {
143 return SNativeWnd::GetWindowRect(lpRect);
144 }
145 STDMETHOD_(BOOL, GetClientRect)(THIS_ LPRECT lpRect) SCONST OVERRIDE
146 {
147 return SNativeWnd::GetClientRect(lpRect);
148 }
149 STDMETHOD_(BOOL, ClientToScreen)(THIS_ LPPOINT lpPoint) SCONST OVERRIDE
150 {
151 return SHostWnd::ClientToScreen(lpPoint);
152 }
153 STDMETHOD_(BOOL, ClientToScreen2)(THIS_ LPRECT lpRect) SCONST OVERRIDE
154 {
155 return SHostWnd::ClientToScreen2(lpRect);
156 }
157 STDMETHOD_(BOOL, ScreenToClient)(THIS_ LPPOINT lpPoint) SCONST OVERRIDE
158 {
159 return SHostWnd::ScreenToClient(lpPoint);
160 }
161 STDMETHOD_(BOOL, ScreenToClient2)(THIS_ LPRECT lpRect) SCONST OVERRIDE
162 {
163 return SHostWnd::ScreenToClient2(lpRect);
164 }
165 STDMETHOD_(int, MapWindowPoints)
166 (THIS_ HWND hWndTo, LPPOINT lpPoint, UINT nCount) SCONST OVERRIDE
167 {
168 return SHostWnd::MapWindowPoints(hWndTo, lpPoint, nCount);
169 }
170 STDMETHOD_(int, MapWindowRect)(THIS_ HWND hWndTo, LPRECT lpRect) SCONST OVERRIDE
171 {
172 return SHostWnd::MapWindowRect(hWndTo, lpRect);
173 }
174 STDMETHOD_(UINT_PTR, SetTimer)
175 (THIS_ UINT_PTR nIDEvent,
176 UINT nElapse,
177 void(CALLBACK *lpfnTimer)(HWND, UINT, UINT_PTR, DWORD) = NULL) OVERRIDE
178 {
179 return SHostWnd::SetTimer(nIDEvent, nElapse, lpfnTimer);
180 }
181 STDMETHOD_(BOOL, KillTimer)(THIS_ UINT_PTR nIDEvent) OVERRIDE
182 {
183 return SHostWnd::KillTimer(nIDEvent);
184 }
185 STDMETHOD_(HDC, GetDC)(THIS) OVERRIDE
186 {
187 return SHostWnd::GetDC();
188 }
189 STDMETHOD_(HDC, GetWindowDC)(THIS) OVERRIDE
190 {
191 return SHostWnd::GetWindowDC();
192 }
193 STDMETHOD_(int, ReleaseDC)(THIS_ HDC hDC) OVERRIDE
194 {
195 return SHostWnd::ReleaseDC(hDC);
196 }
197 STDMETHOD_(BOOL, CreateCaret)(THIS_ HBITMAP hBitmap, int nWidth, int nHeight) OVERRIDE
198 {
199 return SHostWnd::CreateCaret(hBitmap,nWidth,nHeight);
200 }
201 STDMETHOD_(BOOL, HideCaret)(THIS) OVERRIDE
202 {
203 return SHostWnd::HideCaret();
204 }
205 STDMETHOD_(BOOL, ShowCaret)(THIS) OVERRIDE
206 {
207 return SHostWnd::ShowCaret();
208 }
209 STDMETHOD_(HWND, SetCapture)(THIS) OVERRIDE
210 {
211 return SHostWnd::SetCapture();
212 }
213
214 STDMETHOD_(HWND, GetCapture)(THIS) OVERRIDE
215 {
216 return SHostWnd::GetCapture();
217 }
218
219 STDMETHOD_(BOOL, ReleaseCapture)(THIS) OVERRIDE
220 {
222 }
223
224 STDMETHOD_(HWND, SetFocus)(THIS) OVERRIDE
225 {
226 return SHostWnd::SetFocus();
227 }
228 STDMETHOD_(LRESULT, SendMessage)
229 (THIS_ UINT message, WPARAM wParam = 0, LPARAM lParam = 0) OVERRIDE
230 {
231 return SHostWnd::SendMessage(message, wParam, lParam);
232 }
233 STDMETHOD_(BOOL, PostMessage)(THIS_ UINT message, WPARAM wParam = 0, LPARAM lParam = 0) OVERRIDE
234 {
235 return SHostWnd::PostMessage(message, wParam, lParam);
236 }
237 STDMETHOD_(BOOL, SendNotifyMessage)
238 (THIS_ UINT message, WPARAM wParam = 0, LPARAM lParam = 0) OVERRIDE
239 {
240 return SHostWnd::SendNotifyMessage(message, wParam, lParam);
241 }
242 STDMETHOD_(BOOL, SetWindowText)(THIS_ LPCTSTR lpszString) OVERRIDE
243 {
244 return SHostWnd::SetWindowText(lpszString);
245 }
246 STDMETHOD_(int, GetWindowText)(THIS_ LPTSTR lpszStringBuf, int nMaxCount) SCONST OVERRIDE
247 {
248 return SHostWnd::GetWindowText(lpszStringBuf, nMaxCount);
249 }
250 STDMETHOD_(BOOL, IsIconic)(THIS) SCONST OVERRIDE
251 {
252 return SHostWnd::IsIconic();
253 }
254 STDMETHOD_(BOOL, IsZoomed)(THIS) SCONST OVERRIDE
255 {
256 return SHostWnd::IsZoomed();
257 }
258 STDMETHOD_(BOOL, IsWindowVisible)(THIS) SCONST OVERRIDE
259 {
261 }
262 STDMETHOD_(BOOL, MoveWindow)
263 (THIS_ int x, int y, int nWidth, int nHeight, BOOL bRepaint = TRUE) OVERRIDE
264 {
265 return SHostWnd::MoveWindow(x, y, nWidth, nHeight, bRepaint);
266 }
267 STDMETHOD_(BOOL, MoveWindow2)(THIS_ LPCRECT lpRect, BOOL bRepaint = TRUE) OVERRIDE
268 {
269 return SHostWnd::MoveWindow2(lpRect, bRepaint);
270 }
271 STDMETHOD_(BOOL, ShowWindow)(THIS_ int nCmdShow) OVERRIDE
272 {
273 return SHostWnd::ShowWindow(nCmdShow);
274 }
275 STDMETHOD_(int, SetWindowRgn)(THIS_ HRGN hRgn, BOOL bRedraw = TRUE) OVERRIDE
276 {
277 return SHostWnd::SetWindowRgn(hRgn, bRedraw);
278 }
279 STDMETHOD_(BOOL, SetLayeredWindowAttributes)
280 (THIS_ COLORREF crKey, BYTE byAlpha, DWORD dwFlags) OVERRIDE
281 {
282 return SHostWnd::SetLayeredWindowAttributes(crKey, byAlpha, dwFlags);
283 }
284 STDMETHOD_(BOOL, UpdateLayeredWindow)
285 (THIS_ HDC hdcDst,
286 POINT *pptDst,
287 SIZE *psize,
288 HDC hdcSrc,
289 POINT *pptSrc,
290 COLORREF crKey,
291 BLENDFUNCTION *pblend,
292 DWORD dwFlags)
293 {
294 return SHostWnd::UpdateLayeredWindow(hdcDst, pptDst, psize, hdcSrc, pptSrc, crKey, pblend,
295 dwFlags);
296 }
297
298 STDMETHOD_(void, SetMsgHandler)(THIS_ FunMsgHandler fun, void *ctx) OVERRIDE
299 {
300 return SHostWnd::SetMsgHandler(fun, ctx);
301 }
302 STDMETHOD_(MsgHandlerInfo *,GetMsgHandler)(THIS) OVERRIDE{
304 }
305
306 STDMETHOD_(HWND, CreateEx)
307 (THIS_ HWND hWndParent, DWORD dwStyle, DWORD dwExStyle, int x, int y, int nWidth, int nHeight, IXmlNode *xmlInit DEF_VAL(NULL))
308 {
309 return SHostWnd::CreateEx(hWndParent, dwStyle, dwExStyle, x, y, nWidth, nHeight, xmlInit);
310 }
311 STDMETHOD_(HWND, Create)
312 (THIS_ HWND hWndParent, int x = 0, int y = 0, int nWidth = 0, int nHeight = 0)
313 {
314 return SHostWnd::Create(hWndParent, x, y, nWidth, nHeight);
315 }
316
317 STDMETHOD_(BOOL, InitFromXml)(THIS_ IXmlNode *pNode) OVERRIDE{
318 return SHostWnd::InitFromXml(pNode);
319 }
320
321 STDMETHOD_(void, SetLayoutId)(THIS_ LPCTSTR pszLayoutId) OVERRIDE
322 {
323 SHostWnd::SetLayoutId(pszLayoutId);
324 }
325
326 STDMETHOD_(IWindow *, GetIRoot)(THIS) OVERRIDE
327 {
328 return SHostWnd::GetIRoot();
329 }
330
331 STDMETHOD_(BOOL,IsTranslucent)(CTHIS) SCONST OVERRIDE{
333 }
334 STDMETHOD_(IHostPresenter*,GetPresenter)(THIS) OVERRIDE{
335 return SHostWnd::GetPresenter();
336 }
337
338 STDMETHOD_(void,SetPresenter)(THIS_ IHostPresenter* pPresenter) OVERRIDE{
339 return SHostWnd::SetPresenter(pPresenter);
340 }
341
342 STDMETHOD_(IMessageLoop*,GetMsgLoop)(THIS) OVERRIDE{
343 return SHostWnd::GetMsgLoop();
344 }
345
346 STDMETHOD_(IWindow *, FindIChildByID)(THIS_ int nId) OVERRIDE{
347 return SHostWnd::FindIChildByID(nId);
348 }
349
350 STDMETHOD_(IWindow *, FindIChildByName)(THIS_ LPCWSTR pszName) OVERRIDE{
351 return SHostWnd::FindIChildByName(pszName);
352 }
353
354 STDMETHOD_(IWindow *, FindIChildByNameA)(THIS_ LPCSTR pszName) OVERRIDE{
355 return SHostWnd::FindIChildByNameA(pszName);
356 }
357
358 STDMETHOD_(INcPainter*,GetNcPainter)(THIS) OVERRIDE
359 {
360 return SHostWnd::GetNcPainter();
361 }
362
363 STDMETHOD_(void, SetEventHandler)(THIS_ FunCallback fun, void *ctx) OVERRIDE{
364 return SHostWnd::SetEventHandler(fun,ctx);
365 }
366
367 STDMETHOD_(EventHandlerInfo*, GetEventHandler)(THIS) OVERRIDE{
369 }
370
371 STDMETHOD_(BOOL, AnimateHostWindow)(THIS_ DWORD dwTime, DWORD dwFlags) OVERRIDE{
372 return SHostWnd::AnimateHostWindow(dwTime,dwFlags);
373 }
374
375 STDMETHOD_(void,EnableDragDrop)(THIS) OVERRIDE{
377 }
378 STDMETHOD_(void,ShowHostWnd)(THIS_ int uShowCmd,BOOL bWaitAniDone) OVERRIDE{
379 return SHostWnd::ShowHostWnd(uShowCmd,bWaitAniDone);
380 }
381 STDMETHOD_(void, EnablePrivateUiDef)(THIS_ BOOL bEnable) OVERRIDE{
382 return SHostWnd::EnablePrivateUiDef(bEnable);
383 }
384 STDMETHOD_(void, SetScale)(THIS_ int nScale,LPCRECT pDestRect){
385 return SHostWnd::SetScale(nScale,pDestRect);
386 }
387
388};
389
390SNSEND
391#endif // __SHOSTWNDPROXY__H__
The main host window class responsible for managing the layout, events, and rendering of SOUI windows...
Definition SHostWnd.h:318
EventHandlerInfo * GetEventHandler() OVERRIDE
Gets the event handler information for the host window.
void EnableDragDrop() OVERRIDE
Enables drag-and-drop functionality for the host window.
BOOL ShowWindow(int nCmdShow) OVERRIDE
Shows or hides the host window.
BOOL IsTranslucent() SCONST OVERRIDE
Checks if the host window is translucent.
BOOL InitFromXml(IXmlNode *pNode) OVERRIDE
Initializes the host window from an XML node.
Definition shostwnd.cpp:440
void SetLayoutId(LPCTSTR pszLayoutId) OVERRIDE
Sets the layout ID for the host window.
Definition SHostWnd.h:421
IWindow * FindIChildByID(int nId) OVERRIDE
Finds a child window by its ID.
Definition SHostWnd.h:463
SHostWnd(LPCWSTR pszResName=NULL)
Constructs a SHostWnd object with an optional resource name.
Definition shostwnd.cpp:313
void SetEventHandler(FunCallback fun, void *ctx) OVERRIDE
Sets the event handler for the host window.
HWND Create(HWND hWndParent, int x=0, int y=0, int nWidth=0, int nHeight=0) OVERRIDE
Creates the host window.
Definition shostwnd.cpp:402
void ShowHostWnd(int uShowCmd, BOOL bWaitAniDone) OVERRIDE
Shows the host window with optional animation.
void SetPresenter(IHostPresenter *pPresenter) OVERRIDE
Sets the presenter for rendering.
IHostPresenter * GetPresenter() OVERRIDE
Gets the presenter interface for rendering.
IWindow * FindIChildByName(LPCWSTR pszName) OVERRIDE
Finds a child window by its name (Unicode version).
Definition SHostWnd.h:474
BOOL DestroyWindow() OVERRIDE
Destroys the host window.
BOOL AnimateHostWindow(DWORD dwTime, DWORD dwFlags) OVERRIDE
Animates the host window.
void SetScale(int nScale, LPCRECT pDestRect) OVERRIDE
Sets the scale factor for the host window.
void EnablePrivateUiDef(BOOL bEnable) OVERRIDE
Enables or disables private UI definitions for the host window.
Definition shostwnd.cpp:424
IWindow * GetIRoot() OVERRIDE
Gets the root window interface.
Definition SHostWnd.h:429
IWindow * FindIChildByNameA(LPCSTR pszName) OVERRIDE
Finds a child window by its name (ANSI version).
Definition SHostWnd.h:485
IMessageLoop * GetMsgLoop() OVERRIDE
Gets the message loop interface.
INcPainter * GetNcPainter() OVERRIDE
Gets the non-client area painter for the host window.
Definition SHostWnd.h:495
HWND CreateEx(HWND hWndParent, DWORD dwStyle, DWORD dwExStyle, int x, int y, int nWidth, int nHeight, IXmlNode *xmlInit=NULL) OVERRIDE
Creates the host window with extended styles.
Definition shostwnd.cpp:361
BOOL IsIconic() SCONST OVERRIDE
Checks if the window is iconic (minimized).
BOOL IsZoomed() SCONST OVERRIDE
Checks if the window is zoomed (maximized).
BOOL ClientToScreen2(LPRECT lpRect) SCONST OVERRIDE
Converts client rectangle coordinates to screen coordinates.
BOOL ScreenToClient(LPPOINT lpPoint) SCONST OVERRIDE
Converts screen coordinates to client coordinates.
int SetWindowRgn(HRGN hRgn, BOOL bRedraw=TRUE) OVERRIDE
Sets the window region.
int MapWindowRect(HWND hWndTo, LPRECT lpRect) SCONST OVERRIDE
Maps a rectangle from one window to another.
HDC GetDC() OVERRIDE
Retrieves a device context for the window.
HWND SetCapture() OVERRIDE
Sets the window to capture the mouse.
BOOL GetWindowRect(LPRECT lpRect) SCONST OVERRIDE
Retrieves the window rectangle.
HWND GetCapture() OVERRIDE
Retrieves the handle to the window that has captured the mouse.
BOOL ReleaseCapture() OVERRIDE
Releases the mouse capture.
int MapWindowPoints(HWND hWndTo, LPPOINT lpPoint, UINT nCount) SCONST OVERRIDE
Maps points from one window to another.
BOOL SetLayeredWindowAttributes(COLORREF crKey, BYTE bAlpha, DWORD dwFlags) OVERRIDE
Sets the layered window attributes.
BOOL IsWindowVisible() SCONST OVERRIDE
Checks if the window is visible.
BOOL Invalidate(BOOL bErase=TRUE) OVERRIDE
Invalidates the entire window.
BOOL IsWindow() SCONST OVERRIDE
Checks if the handle is a valid window handle.
BOOL IsWindowEnabled() SCONST OVERRIDE
Checks if the window is enabled.
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0) OVERRIDE
Sends a message to the window.
const MSG * GetCurrentMessage() SCONST OVERRIDE
Retrieves the current message being processed.
void SetMsgHandler(FunMsgHandler fun, void *ctx) OVERRIDE
Sets the message handler for the window.
BOOL MoveWindow(int x, int y, int nWidth, int nHeight, BOOL bRepaint=TRUE) OVERRIDE
Moves the window to the specified position and resizes it.
BOOL SendNotifyMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0) OVERRIDE
Sends a notify message to the window.
UINT_PTR SetTimer(UINT_PTR nIDEvent, UINT nElapse, void(CALLBACK *lpfnTimer)(HWND, UINT, UINT_PTR, DWORD)=NULL) OVERRIDE
Sets a timer for the window.
HWND UnsubclassWindow(BOOL bForce=FALSE) OVERRIDE
Unsubclasses a window.
BOOL ShowCaret() OVERRIDE
Shows the caret.
BOOL SubclassWindow(HWND hWnd) OVERRIDE
Subclasses an existing window.
BOOL PostMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0) OVERRIDE
Posts a message to the window.
DWORD GetStyle() SCONST OVERRIDE
Retrieves the window style.
int GetID() SCONST
Retrieves the window ID.
Definition SNativeWnd.h:155
HWND GetParent() OVERRIDE
Retrieves the handle to the parent window.
HWND SetFocus() OVERRIDE
Sets the input focus to the window.
DWORD GetExStyle() SCONST OVERRIDE
Retrieves the extended window style.
HWND SetParent(HWND hWndNewParent) OVERRIDE
Sets the handle to the parent window.
BOOL SetWindowText(LPCTSTR lpszString) OVERRIDE
Sets the window text.
BOOL ClientToScreen(LPPOINT lpPoint) SCONST OVERRIDE
Converts client coordinates to screen coordinates.
BOOL KillTimer(UINT_PTR nIDEvent) OVERRIDE
Kills a timer for the window.
void SetID(int nID)
Sets the window ID.
Definition SNativeWnd.h:165
int GetWindowText(LPTSTR lpszStringBuf, int nMaxCount) SCONST OVERRIDE
Retrieves the window text.
BOOL CreateCaret(HBITMAP hBitmap, int nWidth, int nHeight) OVERRIDE
Creates a caret for the window.
LONG_PTR SetWindowLongPtr(int nIndex, LONG_PTR dwNewLong) OVERRIDE
Sets the long pointer value at the specified index.
BOOL CenterWindow(HWND hWndCenter=0) OVERRIDE
Centers the window relative to another window.
BOOL GetClientRect(LPRECT lpRect) SCONST OVERRIDE
Retrieves the client rectangle.
BOOL ModifyStyle(DWORD dwRemove, DWORD dwAdd, UINT nFlags=0) OVERRIDE
Modifies the window style.
HDC GetWindowDC() OVERRIDE
Retrieves a device context for the entire window.
HWND CreateNative(LPCTSTR lpWindowName, DWORD dwStyle, DWORD dwExStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, int nID=0, LPVOID lpParam=0) OVERRIDE
Creates a native window.
BOOL ModifyStyleEx(DWORD dwRemove, DWORD dwAdd, UINT nFlags=0) OVERRIDE
Modifies the extended window style.
BOOL SetWindowPos(HWND hWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags) OVERRIDE
Sets the window position.
HWND GetHwnd() OVERRIDE
Retrieves the handle to the window.
int ReleaseDC(HDC hDC) OVERRIDE
Releases a device context.
BOOL HideCaret() OVERRIDE
Hides the caret.
BOOL ScreenToClient2(LPRECT lpRect) SCONST OVERRIDE
Converts screen rectangle coordinates to client coordinates.
int GetDlgCtrlID() SCONST OVERRIDE
Retrieves the dialog control ID.
MsgHandlerInfo * GetMsgHandler() OVERRIDE
Retrieves the message handler for the window.
LONG_PTR GetWindowLongPtr(int nIndex) SCONST OVERRIDE
Retrieves the long pointer value at the specified index.
BOOL UpdateLayeredWindow(HDC hdcDst, POINT *pptDst, SIZE *psize, HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend, DWORD dwFlags) OVERRIDE
Updates the layered window.
BOOL InvalidateRect(LPCRECT lpRect, BOOL bErase=TRUE) OVERRIDE
Invalidates a specified rectangle of the window.
BOOL MoveWindow2(LPCRECT lpRect, BOOL bRepaint=TRUE) OVERRIDE
Moves the window to the specified position and resizes it using a rectangle.
long Release() PURE
Release reference.
void OnFinalRelease() PURE
Final release of the object.
long AddRef() PURE
Add reference.