|
long | AddRef () |
|
long | Release () |
|
void | OnFinalRelease () |
|
int | GetID () SCONST |
|
void | SetID (int nID) |
|
HWND | CreateNative (LPCTSTR lpWindowName, DWORD dwStyle, DWORD dwExStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, int nID, LPVOID lpParam) OVERRIDE |
|
HWND | GetHwnd () OVERRIDE |
|
BOOL | SubclassWindow (HWND hWnd) OVERRIDE |
|
HWND | UnsubclassWindow (BOOL bForce) OVERRIDE |
|
const MSG * | GetCurrentMessage () SCONST OVERRIDE |
|
int | GetDlgCtrlID () SCONST OVERRIDE |
|
DWORD | GetStyle () SCONST OVERRIDE |
|
DWORD | GetExStyle () SCONST OVERRIDE |
|
LONG_PTR | GetWindowLongPtr (int nIndex) SCONST OVERRIDE |
|
LONG_PTR | SetWindowLongPtr (int nIndex, LONG_PTR dwNewLong) OVERRIDE |
|
HWND | GetParent () OVERRIDE |
|
HWND | SetParent (HWND hWndNewParent) OVERRIDE |
|
BOOL | IsWindowEnabled () SCONST OVERRIDE |
|
BOOL | ModifyStyle (DWORD dwRemove, DWORD dwAdd, UINT nFlags=0) OVERRIDE |
|
BOOL | ModifyStyleEx (DWORD dwRemove, DWORD dwAdd, UINT nFlags=0) OVERRIDE |
|
BOOL | SetWindowPos (HWND hWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags) OVERRIDE |
|
BOOL | CenterWindow (HWND hWndCenter DEF_VAL(0)) OVERRIDE |
|
BOOL | IsWindow () SCONST OVERRIDE |
|
BOOL | Invalidate (BOOL bErase=TRUE) OVERRIDE |
|
BOOL | InvalidateRect (LPCRECT lpRect, BOOL bErase=TRUE) OVERRIDE |
|
BOOL | GetWindowRect (LPRECT lpRect) SCONST OVERRIDE |
|
BOOL | GetClientRect (LPRECT lpRect) SCONST OVERRIDE |
|
BOOL | ClientToScreen (LPPOINT lpPoint) SCONST OVERRIDE |
|
BOOL | ClientToScreen2 (LPRECT lpRect) SCONST OVERRIDE |
|
BOOL | ScreenToClient (LPPOINT lpPoint) SCONST OVERRIDE |
|
BOOL | ScreenToClient2 (LPRECT lpRect) SCONST OVERRIDE |
|
int | MapWindowPoints (HWND hWndTo, LPPOINT lpPoint, UINT nCount) SCONST OVERRIDE |
|
int | MapWindowRect (HWND hWndTo, LPRECT lpRect) SCONST OVERRIDE |
|
UINT_PTR | SetTimer (UINT_PTR nIDEvent, UINT nElapse, void(CALLBACK *lpfnTimer)(HWND, UINT, UINT_PTR, DWORD)=NULL) OVERRIDE |
|
BOOL | KillTimer (UINT_PTR nIDEvent) OVERRIDE |
|
HDC | GetDC () OVERRIDE |
|
HDC | GetWindowDC () OVERRIDE |
|
int | ReleaseDC (HDC hDC) OVERRIDE |
|
BOOL | CreateCaret (HBITMAP hBitmap, int nWidth, int nHeight) OVERRIDE |
|
BOOL | HideCaret () OVERRIDE |
|
BOOL | ShowCaret () OVERRIDE |
|
HWND | SetCapture () OVERRIDE |
|
HWND | GetCapture () OVERRIDE |
|
BOOL | ReleaseCapture () OVERRIDE |
|
HWND | SetFocus () OVERRIDE |
|
LRESULT | SendMessage (UINT message, WPARAM wParam=0, LPARAM lParam=0) OVERRIDE |
|
BOOL | PostMessage (UINT message, WPARAM wParam=0, LPARAM lParam=0) OVERRIDE |
|
BOOL | SendNotifyMessage (UINT message, WPARAM wParam=0, LPARAM lParam=0) OVERRIDE |
|
BOOL | SetWindowText (LPCTSTR lpszString) OVERRIDE |
|
int | GetWindowText (LPTSTR lpszStringBuf, int nMaxCount) SCONST OVERRIDE |
|
BOOL | IsIconic () SCONST OVERRIDE |
|
BOOL | IsZoomed () SCONST OVERRIDE |
|
BOOL | IsWindowVisible () SCONST OVERRIDE |
|
BOOL | MoveWindow (int x, int y, int nWidth, int nHeight, BOOL bRepaint=TRUE) OVERRIDE |
|
BOOL | MoveWindow2 (LPCRECT lpRect, BOOL bRepaint=TRUE) OVERRIDE |
|
BOOL | ShowWindow (int nCmdShow) OVERRIDE |
|
int | SetWindowRgn (HRGN hRgn, BOOL bRedraw=TRUE) OVERRIDE |
|
BOOL | SetLayeredWindowAttributes (COLORREF crKey, BYTE byAlpha, DWORD dwFlags) OVERRIDE |
|
BOOL | UpdateLayeredWindow (HDC hdcDst, POINT *pptDst, SIZE *psize, HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend, DWORD dwFlags) |
|
void | SetMsgHandler (FunMsgHandler fun, void *ctx) OVERRIDE |
|
MsgHandlerInfo * | GetMsgHandler () OVERRIDE |
|
int | GetID () SCONST |
|
void | SetID (int nID) |
|
HWND | CreateNative (LPCTSTR lpWindowName, DWORD dwStyle, DWORD dwExStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, int nID DEF_VAL(0), LPVOID lpParam DEF_VAL(0)) OVERRIDE |
|
HWND | GetHwnd () OVERRIDE |
|
BOOL | SubclassWindow (HWND hWnd) OVERRIDE |
|
HWND | UnsubclassWindow (BOOL bForce DEF_VAL(FALSE)) OVERRIDE |
|
const MSG * | GetCurrentMessage () SCONST OVERRIDE |
|
int | GetDlgCtrlID () SCONST OVERRIDE |
|
DWORD | GetStyle () SCONST OVERRIDE |
|
DWORD | GetExStyle () SCONST OVERRIDE |
|
LONG_PTR | GetWindowLongPtr (int nIndex) SCONST OVERRIDE |
|
LONG_PTR | SetWindowLongPtr (int nIndex, LONG_PTR dwNewLong) OVERRIDE |
|
HWND | GetParent () OVERRIDE |
|
HWND | SetParent (HWND hWndNewParent) OVERRIDE |
|
BOOL | IsWindowEnabled () SCONST OVERRIDE |
|
BOOL | ModifyStyle (DWORD dwRemove, DWORD dwAdd, UINT nFlags DEF_VAL(0)) OVERRIDE |
|
BOOL | ModifyStyleEx (DWORD dwRemove, DWORD dwAdd, UINT nFlags DEF_VAL(0)) OVERRIDE |
|
BOOL | SetWindowPos (HWND hWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags) OVERRIDE |
|
BOOL | CenterWindow (HWND hWndCenter DEF_VAL(0)) OVERRIDE |
|
BOOL | DestroyWindow () OVERRIDE |
|
BOOL | IsWindow () SCONST OVERRIDE |
|
BOOL | Invalidate (BOOL bErase DEF_VAL(TRUE)) OVERRIDE |
|
BOOL | InvalidateRect (LPCRECT lpRect, BOOL bErase DEF_VAL(TRUE)) OVERRIDE |
|
BOOL | GetWindowRect (LPRECT lpRect) SCONST OVERRIDE |
|
BOOL | GetClientRect (LPRECT lpRect) SCONST OVERRIDE |
|
BOOL | ClientToScreen (LPPOINT lpPoint) SCONST OVERRIDE |
|
BOOL | ClientToScreen2 (LPRECT lpRect) SCONST OVERRIDE |
|
BOOL | ScreenToClient (LPPOINT lpPoint) SCONST OVERRIDE |
|
BOOL | ScreenToClient2 (LPRECT lpRect) SCONST OVERRIDE |
|
int | MapWindowPoints (HWND hWndTo, LPPOINT lpPoint, UINT nCount) SCONST OVERRIDE |
|
int | MapWindowRect (HWND hWndTo, LPRECT lpRect) SCONST OVERRIDE |
|
UINT_PTR | SetTimer (UINT_PTR nIDEvent, UINT nElapse, void(CALLBACK *lpfnTimer)(HWND, UINT, UINT_PTR, DWORD) DEF_VAL(NULL)) OVERRIDE |
|
BOOL | KillTimer (UINT_PTR nIDEvent) OVERRIDE |
|
HDC | GetDC () OVERRIDE |
|
HDC | GetWindowDC () OVERRIDE |
|
int | ReleaseDC (HDC hDC) OVERRIDE |
|
BOOL | CreateCaret (HBITMAP hBitmap, int nWidth, int nHeight) OVERRIDE |
|
BOOL | HideCaret () OVERRIDE |
|
BOOL | ShowCaret () OVERRIDE |
|
HWND | GetCapture () OVERRIDE |
|
HWND | SetCapture () OVERRIDE |
|
BOOL | ReleaseCapture () OVERRIDE |
|
HWND | SetFocus () OVERRIDE |
|
LRESULT | SendMessage (UINT message, WPARAM wParam DEF_VAL(0), LPARAM lParam DEF_VAL(0)) OVERRIDE |
|
BOOL | PostMessage (UINT message, WPARAM wParam DEF_VAL(0), LPARAM lParam DEF_VAL(0)) OVERRIDE |
|
BOOL | SendNotifyMessage (UINT message, WPARAM wParam DEF_VAL(0), LPARAM lParam DEF_VAL(0)) OVERRIDE |
|
BOOL | SetWindowText (LPCTSTR lpszString) OVERRIDE |
|
int | GetWindowText (LPTSTR lpszStringBuf, int nMaxCount) SCONST OVERRIDE |
|
BOOL | IsIconic () SCONST OVERRIDE |
|
BOOL | IsZoomed () SCONST OVERRIDE |
|
BOOL | IsWindowVisible () SCONST OVERRIDE |
|
BOOL | MoveWindow (int x, int y, int nWidth, int nHeight, BOOL bRepaint DEF_VAL(TRUE)) OVERRIDE |
|
BOOL | MoveWindow2 (LPCRECT lpRect, BOOL bRepaint DEF_VAL(TRUE)) OVERRIDE |
|
BOOL | ShowWindow (int nCmdShow) OVERRIDE |
|
int | SetWindowRgn (HRGN hRgn, BOOL bRedraw DEF_VAL(TRUE)) OVERRIDE |
|
BOOL | SetLayeredWindowAttributes (COLORREF crKey, BYTE bAlpha, DWORD dwFlags) OVERRIDE |
|
BOOL | UpdateLayeredWindow (HDC hdcDst, POINT *pptDst, SIZE *psize, HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend, DWORD dwFlags) OVERRIDE |
|
void | SetMsgHandler (FunMsgHandler fun, void *ctx) OVERRIDE |
|
MsgHandlerInfo * | GetMsgHandler () OVERRIDE |
|
LRESULT | DefWindowProc () |
|
LRESULT | ForwardNotifications (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled) |
|
LRESULT | ReflectNotifications (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled) |
|
virtual BOOL | ProcessWindowMessage (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT &lResult, DWORD dwMsgMapID=0) |
|
long | AddRef () override |
|
long | Release () override |
| 释放引用
|
|
void | OnFinalRelease () override |
| 释放对象
|
|
long | AddRef () PURE |
| 添加引用
|
|
long | Release () PURE |
| 释放引用
|
|
void | OnFinalRelease () PURE |
| 释放对象
|
|
HWND | CreateNative (LPCTSTR lpWindowName, DWORD dwStyle, DWORD dwExStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, int nID, LPVOID lpParam) PURE |
| 创建一个Native窗口
|
|
HWND | GetHwnd () PURE |
| 获取窗口HWND
|
|
BOOL | SubclassWindow (HWND hWnd) PURE |
| 用SNativeWnd对象子类化一个HWND
|
|
HWND | UnsubclassWindow (BOOL bForce) PURE |
| 反子类化
|
|
const MSG * | GetCurrentMessage () SCONST PURE |
| 获取当前的窗口消息对象
|
|
int | GetDlgCtrlID () SCONST PURE |
| 获取窗口ID
|
|
DWORD | GetStyle () SCONST PURE |
| 获取窗口Style
|
|
DWORD | GetExStyle () SCONST PURE |
| 获取窗口exStyle
|
|
LONG_PTR | GetWindowLongPtr (int nIndex) SCONST PURE |
| 获取窗口关联数据
|
|
LONG_PTR | SetWindowLongPtr (int nIndex, LONG_PTR dwNewLong) PURE |
| 设置窗口关联数据
|
|
HWND | GetParent () PURE |
| 获取父窗口
|
|
HWND | SetParent (HWND hWndNewParent) PURE |
| 设置父窗口
|
|
BOOL | IsWindowEnabled () SCONST PURE |
| 获取窗口的enable状态
|
|
BOOL | ModifyStyle (DWORD dwRemove, DWORD dwAdd, UINT nFlags) PURE |
| 修改窗口style
|
|
BOOL | ModifyStyleEx (DWORD dwRemove, DWORD dwAdd, UINT nFlags) PURE |
| 修改窗口exStyle
|
|
BOOL | SetWindowPos (HWND hWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags) PURE |
| 设置窗口的Pos
|
|
BOOL | CenterWindow (HWND hWndCenter) PURE |
| 窗口居中
|
|
BOOL | DestroyWindow () PURE |
| 销毁窗口
|
|
BOOL | IsWindow () SCONST PURE |
| 检查是否为有效HWND
|
|
BOOL | Invalidate (BOOL bErase) PURE |
| 刷新窗口
|
|
BOOL | InvalidateRect (LPCRECT lpRect, BOOL bErase) PURE |
| 刷新窗口指定区域
|
|
BOOL | GetWindowRect (LPRECT lpRect) SCONST PURE |
| 获取窗口位置
|
|
BOOL | GetClientRect (LPRECT lpRect) SCONST PURE |
| 获取窗口客户区位置
|
|
BOOL | ClientToScreen (LPPOINT lpPoint) SCONST PURE |
| 将相对窗口的坐标转换为屏幕坐标
|
|
BOOL | ClientToScreen2 (LPRECT lpRect) SCONST PURE |
| 将相对窗口的矩形坐标转换为屏幕坐标
|
|
BOOL | ScreenToClient (LPPOINT lpPoint) SCONST PURE |
| 将屏幕坐标转换为窗口坐标
|
|
BOOL | ScreenToClient2 (LPRECT lpRect) SCONST PURE |
| 将屏幕矩形坐标转换为窗口坐标
|
|
int | MapWindowPoints (HWND hWndTo, LPPOINT lpPoint, UINT nCount) SCONST PURE |
| 将一组窗口坐标转换为相对于另一个窗口的坐标
|
|
int | MapWindowRect (HWND hWndTo, LPRECT lpRect) SCONST PURE |
| 将一个窗口矩形映射为相对于另一个窗口的矩形
|
|
UINT_PTR | SetTimer (UINT_PTR nIDEvent, UINT nElapse, void(CALLBACK *lpfnTimer)(HWND, UINT, UINT_PTR, DWORD)) PURE |
| 启动一人定时器
|
|
BOOL | KillTimer (UINT_PTR nIDEvent) PURE |
| 删除一个定时器
|
|
HDC | GetDC () PURE |
| 获取窗口的客户区DC
|
|
HDC | GetWindowDC () PURE |
| 获取窗口DC
|
|
int | ReleaseDC (HDC hDC) PURE |
| 释放DC
|
|
BOOL | CreateCaret (HBITMAP hBitmap, int nWidth, int nHeight) PURE |
| 创建一个光标
|
|
BOOL | HideCaret () PURE |
| 隐藏光标
|
|
BOOL | ShowCaret () PURE |
| 显示光标
|
|
HWND | GetCapture () PURE |
| 获取当前有鼠标捕获的HWND
|
|
HWND | SetCapture () PURE |
| 将当前窗口设置为捕获鼠标输入
|
|
BOOL | ReleaseCapture () PURE |
| 退出鼠标捕获
|
|
HWND | SetFocus () PURE |
| 让窗口成为接收键盘输入的焦点窗口
|
|
LRESULT | SendMessage (UINT message, WPARAM wParam, LPARAM lParam) PURE |
| 同步执行一个消息到窗口处理过程
|
|
BOOL | PostMessage (UINT message, WPARAM wParam, LPARAM lParam) PURE |
| 异步执行一个消息到窗口处理过程
|
|
BOOL | SendNotifyMessage (UINT message, WPARAM wParam, LPARAM lParam) PURE |
|
BOOL | SetWindowText (LPCTSTR lpszString) PURE |
| 设置窗口标题
|
|
int | GetWindowText (LPTSTR lpszStringBuf, int nMaxCount) SCONST PURE |
| 获取窗口标题文本
|
|
BOOL | IsIconic () SCONST PURE |
| 查询是否为最小化状态
|
|
BOOL | IsZoomed () SCONST PURE |
| 查询是否为最大化状态
|
|
BOOL | IsWindowVisible () SCONST PURE |
| 查询窗口是否可见
|
|
BOOL | MoveWindow (int x, int y, int nWidth, int nHeight, BOOL bRepaint) PURE |
| 移动窗口位置
|
|
BOOL | MoveWindow2 (LPCRECT lpRect, BOOL bRepaint) PURE |
| 移动窗口位置
|
|
BOOL | ShowWindow (int nCmdShow) PURE |
| 显示窗口
|
|
int | SetWindowRgn (HRGN hRgn, BOOL bRedraw) PURE |
| 设置窗口异形区域
|
|
BOOL | SetLayeredWindowAttributes (COLORREF crKey, BYTE bAlpha, DWORD dwFlags) PURE |
| 设置窗口的分层属性
|
|
BOOL | UpdateLayeredWindow (HDC hdcDst, POINT *pptDst, SIZE *psize, HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend, DWORD dwFlags) PURE |
| 更新分层窗口
|
|
void | SetMsgHandler (FunMsgHandler fun, void *ctx) PURE |
| 设置窗口消息处理函数
|
|
MsgHandlerInfo * | GetMsgHandler () PURE |
| 获取窗口消息处理对象
|
|
long | AddRef () PURE |
| Increases the reference count.
|
|
long | Release () PURE |
| Decreases the reference count.
|
|
void | OnFinalRelease () PURE |
| Called when the reference count reaches zero and the object is about to be released.
|
|