WM_消息处理程序:N - O

在左侧的下图项对应于右侧的函数原型:

映射项

函数原型

ON_WM_NCACTIVATE ()

afx_msg BOOL OnNcActivate(BOOL);

ON_WM_NCCALCSIZE ()

afx_msg 无效 OnNcCalcSize(BOOL, NCCALCSIZE_PARAMS FAR*);

ON_WM_NCCREATE ()

afx_msg BOOL OnNcCreate(LPCREATESTRUCT);

ON_WM_NCDESTROY ()

afx_msg 无效 OnNcDestroy();

ON_WM_NCHITTEST ()

afx_msg LRESULT OnNcHitTest(CPoint);

ON_WM_NCLBUTTONDBLCLK ()

afx_msg 无效 OnNcLButtonDblClk(UINT, CPoint);

ON_WM_NCLBUTTONDOWN ()

afx_msg 无效 OnNcLButtonDown(UINT, CPoint);

ON_WM_NCLBUTTONUP ()

afx_msg 无效 OnNcLButtonUp(UINT, CPoint);

ON_WM_NCMBUTTONDBLCLK ()

afx_msg 无效 OnNcMButtonDblClk(UINT, CPoint);

ON_WM_NCMBUTTONDOWN ()

afx_msg 无效 OnNcMButtonDown(UINT, CPoint);

ON_WM_NCMBUTTONUP ()

afx_msg 无效 OnNcMButtonUp(UINT, CPoint);

ON_WM_NCMOUSEHOVER ()

afx_msg 无效 OnNcMouseHover(UINT, CPoint);

ON_WM_NCMOUSELEAVE ()

afx_msg 无效 OnNcMouseLeave();

ON_WM_NCMOUSEMOVE ()

afx_msg 无效 OnNcMouseMove(UINT, CPoint);

ON_WM_NCPAINT ()

afx_msg 无效 OnNcPaint();

ON_WM_NCRBUTTONDBLCLK ()

afx_msg 无效 OnNcRButtonDblClk(UINT, CPoint);

ON_WM_NCRBUTTONDOWN ()

afx_msg 无效 OnNcRButtonDown(UINT, CPoint);

ON_WM_NCRBUTTONUP ()

afx_msg 无效 OnNcRButtonUp(UINT, CPoint);

ON_WM_NCXBUTTONDBLCLK ()

无效 OnNcXButtonDblClk(短, UINT, CPoint);

ON_WM_NCXBUTTONDOWN ()

afx_msg 无效 OnNcXButtonDown(短, UINT, CPoint);

ON_WM_NCXBUTTONUP ()

afx_msg 无效 OnNcXButtonUp(短, UINT, CPoint);

ON_WM_NEXTMENU ()

afx_msg 无效 OnNextMenu(UINT, LPMDINEXTMENU);

ON_WM_NOTIFYFORMAT ()

afx_msg UINT OnNotifyFormat(CWnd*, UINT);

请参见

参考

消息映射(MFC)

WM_消息的处理程序