|
| THostWndProxy (LPCWSTR pszResId) |
|
| THostWndProxy (LPCSTR pszResId) |
|
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=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=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=NULL) OVERRIDE |
|
BOOL | DestroyWindow () 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 |
|
HWND | CreateEx (HWND hWndParent, DWORD dwStyle, DWORD dwExStyle, int x, int y, int nWidth, int nHeight, IXmlNode *xmlInit DEF_VAL(NULL)) |
|
HWND | Create (HWND hWndParent, int x=0, int y=0, int nWidth=0, int nHeight=0) |
|
BOOL | InitFromXml (IXmlNode *pNode) OVERRIDE |
|
void | SetLayoutId (LPCTSTR pszLayoutId) OVERRIDE |
|
IWindow * | GetIRoot () OVERRIDE |
|
BOOL | IsTranslucent () SCONST OVERRIDE |
|
IHostPresenter * | GetPresenter () OVERRIDE |
|
void | SetPresenter (IHostPresenter *pPresenter) OVERRIDE |
|
IMessageLoop * | GetMsgLoop () OVERRIDE |
|
IWindow * | FindIChildByID (int nId) OVERRIDE |
|
IWindow * | FindIChildByName (LPCWSTR pszName) OVERRIDE |
|
IWindow * | FindIChildByNameA (LPCSTR pszName) OVERRIDE |
|
INcPainter * | GetNcPainter () OVERRIDE |
|
void | SetEventHandler (FunCallback fun, void *ctx) OVERRIDE |
|
EventHandlerInfo * | GetEventHandler () OVERRIDE |
|
BOOL | AnimateHostWindow (DWORD dwTime, DWORD dwFlags) OVERRIDE |
|
void | EnableDragDrop () OVERRIDE |
|
void | ShowHostWnd (int uShowCmd, BOOL bWaitAniDone) OVERRIDE |
|
void | EnablePrivateUiDef (BOOL bEnable) OVERRIDE |
|
void | SetScale (int nScale, LPCRECT pDestRect) |
|
| SHostWnd (LPCWSTR pszResName=NULL) |
|
| SHostWnd (LPCSTR pszResName) |
|
BOOL | InitFromXml (IXmlNode *pNode) OVERRIDE |
|
BOOL | DestroyWindow () OVERRIDE |
|
void | SetLayoutId (LPCTSTR pszLayoutId) OVERRIDE |
|
IWindow * | GetIRoot () OVERRIDE |
|
BOOL | IsTranslucent () SCONST OVERRIDE |
|
IHostPresenter * | GetPresenter () OVERRIDE |
|
void | SetPresenter (IHostPresenter *pPresenter) OVERRIDE |
|
IMessageLoop * | GetMsgLoop () OVERRIDE |
|
IWindow * | FindIChildByID (int nId) OVERRIDE |
|
IWindow * | FindIChildByName (LPCWSTR pszName) OVERRIDE |
|
IWindow * | FindIChildByNameA (LPCSTR pszName) OVERRIDE |
|
INcPainter * | GetNcPainter () OVERRIDE |
|
BOOL | ShowWindow (int nCmdShow) OVERRIDE |
|
HWND | CreateEx (HWND hWndParent, DWORD dwStyle, DWORD dwExStyle, int x, int y, int nWidth, int nHeight, IXmlNode *xmlInit DEF_VAL(NULL)) OVERRIDE |
|
HWND | Create (HWND hWndParent, int x=0, int y=0, int nWidth=0, int nHeight=0) OVERRIDE |
|
void | SetEventHandler (FunCallback fun, void *ctx) OVERRIDE |
|
EventHandlerInfo * | GetEventHandler () OVERRIDE |
|
BOOL | AnimateHostWindow (DWORD dwTime, DWORD dwFlags) OVERRIDE |
|
void | EnableDragDrop () OVERRIDE |
|
void | ShowHostWnd (int uShowCmd, BOOL bWaitAniDone) OVERRIDE |
|
void | EnablePrivateUiDef (BOOL bEnable) OVERRIDE |
|
void | SetScale (int nScale, LPCRECT pDestRect) OVERRIDE |
|
SWindow * | FindChildByName (LPCWSTR strName, int nDeep=-1) |
|
SWindow * | FindChildByName (LPCSTR strName, int nDeep=-1) |
|
template<class T> |
T * | FindChildByName2 (LPCWSTR pszName, int nDeep=-1) |
|
template<class T> |
T * | FindChildByName2 (LPCSTR pszName, int nDeep=-1) |
|
SWindow * | FindChildByID (int nID, int nDeep=-1) |
|
template<class T> |
T * | FindChildByID2 (int nID, int nDeep=-1) |
|
template<class T> |
T * | FindChildByClass (int nDeep=-1) const |
|
SWindow * | GetRoot () const |
|
SNativeWnd * | GetNative () |
|
CRect | GetWindowRect () const |
|
CRect | GetClientRect () const |
|
SHostWndAttr & | GetHostAttr () |
|
IToolTip * | GetToolTip () const |
|
bool | StartHostAnimation (IAnimation *pAni) |
|
bool | StopHostAnimation () |
|
void | UpdateAutoSizeCount (bool bInc) |
|
BOOL | OnFireEvent (IEvtArgs *evt) OVERRIDE |
|
void | GetContainerRect (RECT *ret) const OVERRIDE |
|
HWND | GetHostHwnd () OVERRIDE |
|
LPCWSTR | GetTranslatorContext () const OVERRIDE |
|
void | UpdateRegion (IRegionS *rgn) OVERRIDE |
|
void | OnRedraw (LPCRECT rc, BOOL bClip) OVERRIDE |
|
BOOL | OnReleaseSwndCapture () OVERRIDE |
|
SWND | OnSetSwndCapture (SWND swnd) OVERRIDE |
|
BOOL | IsSendWheel2Hover () const OVERRIDE |
|
BOOL | UpdateWindow (BOOL bForce DEF_VAL(TRUE)) OVERRIDE |
|
void | UpdateTooltip () OVERRIDE |
|
void | SetToolTip (LPCRECT rc, UINT tipAlign, LPCTSTR pszTip) OVERRIDE |
|
BOOL | RegisterTimelineHandler (ITimelineHandler *pHandler) OVERRIDE |
|
BOOL | UnregisterTimelineHandler (ITimelineHandler *pHandler) OVERRIDE |
|
void | EnableHostPrivateUiDef (BOOL bEnable) OVERRIDE |
|
IScriptModule * | GetScriptModule () OVERRIDE |
|
int | GetScale () const OVERRIDE |
|
void | EnableIME (BOOL bEnable) OVERRIDE |
|
void | OnUpdateCursor () OVERRIDE |
|
BOOL | PostTask (IRunnable *runable, BOOL bAsync DEF_VAL(TRUE)) OVERRIDE |
|
int | RemoveTasksForObject (void *pObj) OVERRIDE |
|
virtual BOOL | onRootResize (IEvtArgs *e) |
|
virtual BOOL | _HandleEvent (IEvtArgs *pEvt) |
|
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 |
|
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 |
| 获取窗口消息处理对象
|
|
HWND | CreateEx (HWND hWndParent, DWORD dwStyle, DWORD dwExStyle, int x, int y, int nWidth, int nHeight, IXmlNode *xmlInit DEF_VAL(NULL)) PURE |
| 创建窗口
|
|
HWND | Create (HWND hWndParent, int x DEF_VAL(0), int y DEF_VAL(0), int nWidth DEF_VAL(0), int nHeight DEF_VAL(0)) PURE |
| 创建窗口
|
|
void | SetLayoutId (LPCTSTR pszLayoutId) PURE |
| 设置窗口布局资源ID
|
|
BOOL | InitFromXml (IXmlNode *pNode) PURE |
| 从XML初始化窗口
|
|
IWindow * | GetIRoot () PURE |
| 获取Dui Root
|
|
BOOL | IsTranslucent () SCONST PURE |
| 查询窗口的半透明标志
|
|
IHostPresenter * | GetPresenter () PURE |
| 获取窗口的上屏对象
|
|
void | SetPresenter (IHostPresenter *pPresenter) PURE |
| 设置窗口上屏对象
|
|
IMessageLoop * | GetMsgLoop () PURE |
| 获取窗口所属的msgloop对象
|
|
IWindow * | FindIChildByID (int nId) PURE |
| 根据ID查找子窗口
|
|
IWindow * | FindIChildByName (LPCWSTR pszName) PURE |
| 根据Name查找子窗口
|
|
IWindow * | FindIChildByNameA (LPCSTR pszName) PURE |
| 根据Name查找子窗口
|
|
INcPainter * | GetNcPainter () PURE |
| 获取非客户区的绘制对象
|
|
void | SetEventHandler (FunCallback fun, void *ctx) PURE |
| 设置事件处理对象
|
|
EventHandlerInfo * | GetEventHandler () PURE |
| 获取事件处理对象
|
|
BOOL | AnimateHostWindow (DWORD dwTime, DWORD dwFlags) PURE |
| 动画显示/隐藏窗口
|
|
void | EnableDragDrop () PURE |
| 让窗口支持DragDrop
|
|
void | ShowHostWnd (int uShowCmd, BOOL bWaitAniDone) PURE |
| 显示或者隐藏HostWnd
|
|
void | EnablePrivateUiDef (BOOL bEnable) PURE |
| 是否启用布局中定义的私有UIDef对象
|
|
void | SetScale (int nScale, LPCRECT pDestRect) PURE |
| 设置窗口的dpi倍数
|
|
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.
|
|
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 |
| 释放对象
|
|
| SwndContainerImpl () |
| Constructor.
|
|
IDropTarget * | GetDropTarget () |
| Retrieves the drop target.
|
|
SFocusManager * | GetFocusManager () |
| Retrieves the focus manager.
|
|
void | SetRoot (SWindow *pRoot) |
| Sets the root window of the container.
|
|
virtual LRESULT | DoFrameEvent (UINT uMsg, WPARAM wParam, LPARAM lParam) |
| Processes frame events.
|
|
void | OnNextFrame () OVERRIDE |
| Called when the next frame is ready.
|
|
BOOL | RegisterTimelineHandler (ITimelineHandler *pHandler) PURE |
| 注册动画帧处理接口
|
|
BOOL | UnregisterTimelineHandler (ITimelineHandler *pHandler) PURE |
| 注销动画帧处理接口
|
|
BOOL | RegisterDragDrop (SWND swnd, IDropTarget *pDropTarget) PURE |
| 向Swnd注册IDropTarget
|
|
BOOL | UnregisterDragDrop (SWND swnd) PURE |
| 从Swnd注销IDropTarget
|
|
BOOL | OnFireEvent (IEvtArgs *evt) PURE |
| 响应事件
|
|
IMessageLoop * | GetMsgLoop () PURE |
| 获取当前的Message Loop
|
|
IScriptModule * | GetScriptModule () PURE |
| 获取脚本模块
|
|
HWND | GetHostHwnd () PURE |
| 获取宿主窗口HWND
|
|
BOOL | IsTranslucent () SCONST PURE |
| 获取宿主窗口半透明标志
|
|
BOOL | IsSendWheel2Hover () SCONST PURE |
| 获取将mouseWheel消息分发到hover窗口的标志
|
|
int | GetScale () SCONST PURE |
| 获取当前dpi放大倍数
|
|
LPCWSTR | GetTranslatorContext () SCONST PURE |
| 获取翻译上下文
|
|
void | GetContainerRect (RECT *ret) SCONST PURE |
| 获取容器显示位置
|
|
void | UpdateRegion (IRegionS *rgn) PURE |
| 刷新指定区域的内存位图
|
|
void | OnRedraw (LPCRECT rc, BOOL bClip) PURE |
| 请求重绘
|
|
SWND | OnGetSwndCapture () SCONST PURE |
| 获取捕获鼠标的Swnd对象
|
|
SWND | OnSetSwndCapture (SWND swnd) PURE |
| 设置捕获鼠标的Swnd对象
|
|
BOOL | OnReleaseSwndCapture () PURE |
| 释放捕获鼠标的Swnd
|
|
SWND | GetHover () SCONST PURE |
| 获取Hover的Swnd
|
|
SWND | GetFocus () SCONST PURE |
| 获取焦点的Swnd
|
|
void | OnSetSwndFocus (SWND swnd) PURE |
| 设置窗口焦点
|
|
BOOL | UpdateWindow (BOOL bForce DEF_VAL(TRUE)) PURE |
| 请求立即更新窗口
|
|
void | UpdateTooltip () PURE |
| 请求更新tooltip
|
|
void | SetToolTip (LPCRECT rc, UINT tipAlign, LPCTSTR pszTip) PURE |
| 在指定位置显示tooltip
|
|
void | FrameToHost (RECT *rc) SCONST PURE |
| 将当前Frame的矩形坐标转换成最终Host的坐标
|
|
IAcceleratorMgr * | GetAcceleratorMgr () PURE |
| 获取加速键管理器
|
|
BOOL | RegisterTrackMouseEvent (SWND swnd) PURE |
| 将Swnd注册为TrackMouseEvent窗口
|
|
BOOL | UnregisterTrackMouseEvent (SWND swnd) PURE |
| 将Swnd注销TrackMouseEvent窗口
|
|
void | MarkWndTreeZorderDirty () PURE |
| 标记窗口树的zorder失效
|
|
void | BuildWndTreeZorder () PURE |
| 重建窗口树的zorder
|
|
void | EnableIME (BOOL bEnable) PURE |
| 启用/关闭输入法
|
|
void | OnUpdateCursor () PURE |
| 更新Cursor
|
|
BOOL | RegisterVideoCanvas (SWND swnd) PURE |
| 注册VideoCanvas窗口
|
|
BOOL | UnregisterVideoCanvas (SWND swnd) PURE |
| 注销VideoCanvas窗口
|
|
void | EnableHostPrivateUiDef (BOOL bEnable) PURE |
| 启用/禁用宿主私有UI定义
|
|
BOOL | PostTask (IRunnable *runable, BOOL bAsync DEF_VAL(TRUE)) PURE |
| 提交任务
|
|
int | RemoveTasksForObject (void *pObj) PURE |
| 移除对象的任务
|
|
Public Member Functions inherited from ITimelineHandlersMgr |
BOOL | RegisterTimelineHandler (ITimelineHandler *pHandler) PURE |
| 注册动画帧处理接口
|
|
BOOL | UnregisterTimelineHandler (ITimelineHandler *pHandler) PURE |
| 注销动画帧处理接口
|
|
Public Member Functions inherited from ITimelineHandler |
void | OnNextFrame () PURE |
| 下一个动画帧处理接口
|
|
|
enum | {
kPulseTimer = 4321
, kPulseInterval = 10
, kNcCheckTimer = 4322
, kNcCheckInterval = 50
,
kTaskTimer = 4323
, kTaskInterval = 100
} |
|
static void | SetHideLocalUiDef (BOOL bHide) |
|
static void | SetTaskQueueBufSize (int nBufSize) |
|
static ATOM | RegisterSimpleWnd (HINSTANCE hInst, LPCTSTR pszSimpleWndName, BOOL bImeWnd) |
|
static void | InitWndClass (HINSTANCE hInst, LPCTSTR pszSimpleWndName, BOOL bImeWnd) |
|
static BOOL | DefaultReflectionHandler (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT &lResult) |
|
HWND | m_hWnd |
|
virtual void | OnHostAnimationStarted (IAnimation *pAni) |
|
virtual void | OnHostAnimationStoped (IAnimation *pAni) |
|
void | _RedrawRegion (IRegionS *pRgn, CRect &rcInvalid) |
|
void | _Redraw () |
|
void | _RestoreClickState () |
|
void | _Invalidate (LPCRECT prc) |
|
void | _SetToolTipInfo (const SwndToolTipInfo *info, BOOL bNcTip) |
|
void | _Init () |
|
void | _ExcludeVideoCanvasFromPaint (IRenderTarget *pRT) |
|
void | _PaintVideoCanvasForeground (IRenderTarget *pRT) |
|
void | OnPrint (HDC dc, UINT uFlags=0) |
|
void | OnPaint (HDC dc) |
|
BOOL | OnEraseBkgnd (HDC dc) |
|
int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
|
void | OnDestroy () |
|
void | OnSize (UINT nType, CSize size) |
|
void | OnMouseMove (UINT nFlags, CPoint point) |
|
void | OnMouseLeave () |
|
BOOL | OnSetCursor (HWND hWnd, UINT nHitTest, UINT message) |
|
void | OnTimer (UINT_PTR idEvent) |
|
LRESULT | OnMouseEvent (UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
LRESULT | OnKeyEvent (UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
LRESULT | OnActivateApp (UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
|
void | OnActivate (UINT nState, BOOL bMinimized, HWND wndOther) |
|
void | OnGetMinMaxInfo (LPMINMAXINFO lpMMI) |
|
void | OnSetFocus (HWND wndOld) |
|
void | OnKillFocus (HWND wndFocus) |
|
void | UpdatePresenter (HDC dc, IRenderTarget *pRT, LPCRECT rc, BYTE byAlpha=255, UINT uFlag=0) |
|
void | OnCaptureChanged (HWND wnd) |
|
LRESULT | OnMenuExEvent (UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
void | OnWindowPosChanging (LPWINDOWPOS lpWndPos) |
|
void | OnWindowPosChanged (LPWINDOWPOS lpWndPos) |
|
LRESULT | OnGetObject (UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
void | OnSysCommand (UINT nID, CPoint lParam) |
|
void | OnCommand (UINT uNotifyCode, int nID, HWND wndCtl) |
|
virtual IToolTip * | CreateTooltip () const |
|
virtual void | DestroyTooltip (IToolTip *pTooltip) const |
|
virtual BOOL | OnLoadLayoutFromResourceID (SXmlDoc &xmlDoc) |
|
virtual SXmlNode | OnGetInitXmlNode (SXmlDoc &xmlDoc) |
|
virtual void | OnUserXmlNode (SXmlNode xmlUser) |
|
virtual SRootWindow * | CreateRoot () |
|
LRESULT | OnSetLanguage (UINT uMsg, WPARAM wp, LPARAM lp) |
|
LRESULT | OnUpdateFont (UINT uMsg, WPARAM wp, LPARAM lp) |
|
LRESULT | OnRunTasks (UINT uMsg, WPARAM wp, LPARAM lp) |
|
| BEGIN_MSG_MAP_EX (SHostWnd) MSG_WM_SIZE(OnSize) MSG_WM_PRINT(OnPrint) MSG_WM_PAINT(OnPaint) MSG_WM_CREATE(OnCreate) MSG_WM_DESTROY(OnDestroy) MSG_WM_ERASEBKGND(OnEraseBkgnd) MSG_WM_MOUSELEAVE(OnMouseLeave) MSG_WM_MOUSEMOVE(OnMouseMove) MSG_WM_MOUSEWHEEL(OnMouseWheel) MSG_WM_ACTIVATE(OnActivate) MSG_WM_SETFOCUS(OnSetFocus) MSG_WM_KILLFOCUS(OnKillFocus) MESSAGE_RANGE_HANDLER_EX(WM_MOUSEFIRST |
|
OnMouseEvent | MESSAGE_RANGE_HANDLER_EX (WM_KEYFIRST, WM_KEYLAST, OnKeyEvent) MESSAGE_RANGE_HANDLER_EX(WM_IME_STARTCOMPOSITION |
|
OnMouseEvent OnKeyEvent | MESSAGE_HANDLER_EX (WM_IME_CHAR, OnKeyEvent) MESSAGE_HANDLER_EX(WM_IME_REQUEST |
|
OnMouseEvent OnKeyEvent OnKeyEvent | MESSAGE_HANDLER_EX (WM_ACTIVATEAPP, OnActivateApp) MSG_WM_SETCURSOR(OnSetCursor) MSG_WM_TIMER(OnTimer) MSG_WM_GETMINMAXINFO(OnGetMinMaxInfo) MSG_WM_CAPTURECHANGED(OnCaptureChanged) MESSAGE_HANDLER_EX(UM_MENUEVENT |
|
OnMouseEvent OnKeyEvent OnKeyEvent OnMenuExEvent | MSG_WM_WINDOWPOSCHANGING (OnWindowPosChanging) MSG_WM_WINDOWPOSCHANGED(OnWindowPosChanged) MESSAGE_HANDLER_EX(WM_GETOBJECT |
|
OnMouseEvent OnKeyEvent OnKeyEvent OnMenuExEvent OnGetObject | MSG_WM_COMMAND (OnCommand) MSG_WM_SYSCOMMAND(OnSysCommand) MESSAGE_HANDLER_EX(UM_UPDATEFONT |
|
OnMouseEvent OnKeyEvent OnKeyEvent OnMenuExEvent OnGetObject OnUpdateFont | MESSAGE_HANDLER_EX (UM_SETLANGUAGE, OnSetLanguage) MESSAGE_HANDLER_EX(UM_RUN_TASKS |
|
LRESULT | DefWindowProc (UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
virtual void | OnFinalMessage (HWND hWnd) |
|
BOOL | RegisterDragDrop (SWND swnd, IDropTarget *pDropTarget) OVERRIDE |
| Registers a drop target for a window.
|
|
BOOL | UnregisterDragDrop (SWND swnd) OVERRIDE |
| Unregisters a drop target for a window.
|
|
BOOL | OnReleaseSwndCapture () OVERRIDE |
| Releases the window capture.
|
|
SWND | OnSetSwndCapture (SWND swnd) OVERRIDE |
| Sets the window capture.
|
|
void | OnSetSwndFocus (SWND swnd) OVERRIDE |
| Sets the window focus.
|
|
void | FrameToHost (RECT *rc) SCONST OVERRIDE |
| Transforms a rectangle from frame coordinates to host coordinates.
|
|
SWND | OnGetSwndCapture () SCONST OVERRIDE |
| Retrieves the window handle that has capture.
|
|
SWND | GetFocus () SCONST OVERRIDE |
| Retrieves the window handle that has focus.
|
|
SWND | GetHover () SCONST OVERRIDE |
| Retrieves the window handle that is hovered.
|
|
IAcceleratorMgr * | GetAcceleratorMgr () |
| Retrieves the accelerator manager.
|
|
BOOL | RegisterTimelineHandler (ITimelineHandler *pHandler) OVERRIDE |
| Registers a timeline handler.
|
|
BOOL | UnregisterTimelineHandler (ITimelineHandler *pHandler) OVERRIDE |
| Unregisters a timeline handler.
|
|
BOOL | RegisterTrackMouseEvent (SWND swnd) OVERRIDE |
| Registers a window for tracking mouse events.
|
|
BOOL | UnregisterTrackMouseEvent (SWND swnd) OVERRIDE |
| Unregisters a window for tracking mouse events.
|
|
void | MarkWndTreeZorderDirty () OVERRIDE |
| Marks the window tree's z-order as dirty.
|
|
void | BuildWndTreeZorder () OVERRIDE |
| Rebuilds the window tree's z-order.
|
|
BOOL | RegisterVideoCanvas (SWND swnd) OVERRIDE |
| Registers a window as a video canvas.
|
|
BOOL | UnregisterVideoCanvas (SWND swnd) OVERRIDE |
| Unregisters a window as a video canvas.
|
|
void | OnFrameMouseMove (UINT uFlag, CPoint pt) |
| Handles mouse move events within the frame.
|
|
void | OnFrameMouseLeave () |
| Handles mouse leave events within the frame.
|
|
BOOL | OnFrameSetCursor (const CPoint &pt) |
| Sets the cursor based on the mouse position.
|
|
void | OnFrameMouseEvent (UINT uMsg, WPARAM wParam, LPARAM lParam) |
| Handles mouse events within the frame.
|
|
void | OnFrameMouseWheel (UINT uMsg, WPARAM wParam, LPARAM lParam) |
| Handles mouse wheel events within the frame.
|
|
LRESULT | OnFrameKeyEvent (UINT uMsg, WPARAM wParam, LPARAM lParam) |
| Handles key events within the frame.
|
|
void | OnFrameKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
| Handles key down events within the frame.
|
|
void | OnActivate (UINT nState) |
| Handles window activation events.
|
|
void | OnActivateApp (BOOL bActive, DWORD dwThreadID) |
| Handles application activation events.
|
|
void | _BuildWndTreeZorder (IWindow *pWnd, UINT &iOrder) |
| Recursively builds the z-order of the window tree.
|
|
static LRESULT CALLBACK | WindowProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
static LRESULT CALLBACK | StartWindowProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
SDummyWnd * | m_dummyWnd |
|
SHostWndAttr | m_hostAttr |
|
SStringT | m_strXmlLayout |
|
BOOL | m_bTrackFlag |
|
BOOL | m_bNeedRepaint |
|
BOOL | m_bNeedAllRepaint |
|
IToolTip * | m_pTipCtrl |
|
SAutoRefPtr< IRegionS > | m_rgnInvalidate |
|
SAutoRefPtr< IRenderTarget > | m_memRT |
|
SAutoRefPtr< IUiDefInfo > | m_privateUiDefInfo |
|
int | m_cEnableUiDefCount |
|
SAutoRefPtr< IScriptModule > | m_pScriptModule |
|
SAutoRefPtr< SNcPainter > | m_pNcPainter |
|
MSG | m_msgMouse |
|
CSize | m_szAppSetted |
|
CSize | m_szPrev |
|
int | m_nAutoSizing |
|
bool | m_bResizing |
|
SAutoRefPtr< IAnimation > | m_hostAnimation |
|
DWORD | m_AniState |
|
BOOL | m_bFirstShow |
|
tid_t | m_dwThreadID |
|
SRootWindow * | m_pRoot |
|
EventHandlerInfo | m_evtHandler |
|
SAutoRefPtr< IHostPresenter > | m_presenter |
|
SCriticalSection | m_cs |
|
SList< IRunnable * > | m_runnables |
|
SCriticalSection | m_csRunningQueue |
|
SList< IRunnable * > | m_runningQueue |
|
IXmlNode * | m_xmlInit |
|
SHostWnd::SHostAnimationHandler | m_hostAnimationHandler |
|
| WM_MOUSELAST |
|
OnMouseEvent | WM_IME_KEYLAST |
|
const MSG * | m_pCurrentMsg |
|
BOOL | m_bDestoryed |
|
MsgHandlerInfo | m_msgHandlerInfo |
|
tagThunk * | m_pThunk |
|
WNDPROC | m_pfnSuperWindowProc |
|
LONG | m_cRef |
|
SWindow * | m_pRoot |
|
SWND | m_hCapture |
|
SWND | m_hHover |
|
BOOL | m_bNcHover |
|
SFocusManager | m_focusMgr |
|
SDropTargetDispatcher | m_dropTarget |
|
BOOL | m_bZorderDirty |
|
SList< SWND > | m_lstTrackMouseEvtWnd |
|
SList< SWND > | m_lstVideoCanvas |
|
SAutoRefPtr< ICaret > | m_caret |
|
STimerlineHandlerMgr | m_timelineHandlerMgr |
|
static BOOL | s_HideLocalUiDef = TRUE |
|
static int | s_TaskQueueBufSize = 5 |
|