事件传递
2020-09-01 21:31:47 0 举报
NNC事件传递
作者其他创作
大纲/内容
SWindowMgr(全局窗口管理器)
SWindow* GetWindow(SWND swnd)
SEvent(单一事件)
SArray<ISlotFunctor *> m_evtSlots;
SRoundImage(圆形图片窗口)
ProcessSwndMessage
SEventSet(事件处理集)
SArray<SEvent *> m_evtArr;SEvent * GetEventObject(const DWORD dwEventID);
CSimpleWnd
RegisterSimpleWndWindowProcCreate
SWindow(SOUI窗口基类)
SEventSet m_evtSet; // 窗口事件集合
SwndFromPoint //Hittest childrenSSendMessageProcessSwndMessageOnLButtonUpFireEvent
SImageWnd
CNNCListView(Feed列表)
GetTemp
SSCListView
ProcessSwndMessageOnMouseEventSItemPanel * HitTest(CPoint & pt)
SwndContainerImpl(SOUI窗口容器)
DoFrameEvent //将鼠标消息转发到SWindow处理OnFrameMouseEvent
具体实例化对象
SItemPanel(swindow面板)
DoFrameEventOnFireEvent
SPanel
NNCMainDlg(牛牛圈主窗口)
ProcessWindowMessage_ProcessWindowMessage
SWebImageWnd
SHostWnd(标准的真窗口)
HWND m_hWnd;
ProcessWindowMessage_ProcessWindowMessageOnMouseEventOnFireEvent
0 条评论
下一页