Share via


WM_ Message Handlers: N - O

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at WM_ Message Handlers: N - O.

The following map entries on the left correspond to the function prototypes on the right:

Map entry Function prototype
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);

See Also

Message Maps
Handlers for WM_ Messages