WM_ 消息处理程序:N - O

下面左侧的映射条目对应于右侧的函数原型:

映射条目 函数原型
ON_WM_NCACTIVATE() afx_msg BOOL OnNcActivate(BOOL);
ON_WM_NCCALCSIZE() afx_msg void OnNcCalcSize(BOOL, NCCALCSIZE_PARAMS FAR*);
ON_WM_NCCREATE() afx_msg BOOL OnNcCreate(LPCREATESTRUCT);
ON_WM_NCDESTROY() afx_msg void OnNcDestroy();
ON_WM_NCHITTEST() afx_msg LRESULT OnNcHitTest(CPoint);
ON_WM_NCLBUTTONDBLCLK() afx_msg void OnNcLButtonDblClk(UINT, CPoint);
ON_WM_NCLBUTTONDOWN() afx_msg void OnNcLButtonDown(UINT, CPoint);
ON_WM_NCLBUTTONUP() afx_msg void OnNcLButtonUp(UINT, CPoint);
ON_WM_NCMBUTTONDBLCLK() afx_msg void OnNcMButtonDblClk(UINT, CPoint);
ON_WM_NCMBUTTONDOWN() afx_msg void OnNcMButtonDown(UINT, CPoint);
ON_WM_NCMBUTTONUP() afx_msg void OnNcMButtonUp(UINT, CPoint);
ON_WM_NCMOUSEHOVER() afx_msg void OnNcMouseHover(UINT, CPoint);
ON_WM_NCMOUSELEAVE() afx_msg void OnNcMouseLeave();
ON_WM_NCMOUSEMOVE() afx_msg void OnNcMouseMove(UINT, CPoint);
ON_WM_NCPAINT() afx_msg void OnNcPaint();
ON_WM_NCRBUTTONDBLCLK() afx_msg void OnNcRButtonDblClk(UINT, CPoint);
ON_WM_NCRBUTTONDOWN() afx_msg void OnNcRButtonDown(UINT, CPoint);
ON_WM_NCRBUTTONUP() afx_msg void OnNcRButtonUp(UINT, CPoint);
ON_WM_NCXBUTTONDBLCLK() void OnNcXButtonDblClk(short, UINT, CPoint);
ON_WM_NCXBUTTONDOWN() afx_msg void OnNcXButtonDown(short, UINT, CPoint);
ON_WM_NCXBUTTONUP() afx_msg void OnNcXButtonUp(short, UINT, CPoint);
ON_WM_NEXTMENU() afx_msg void OnNextMenu(UINT, LPMDINEXTMENU);
ON_WM_NOTIFYFORMAT() afx_msg UINT OnNotifyFormat(CWnd*, UINT);

另请参阅

消息映射
WM_ 消息的处理程序