afx_msg void OnNcRButtonDown( UINT nHitTest, CPoint point );
nHitTest
Specifies the hit-test code. A hit test is a test that determines the location of the cursor.
point
Specifies a CPoint that contains the x and y screen coordinates of the cursor position. These coordinates are always relative to the upper-left corner of the screen.
Called when the user presses the right mouse button while the cursor is within a nonclient area.
This message-handler member function calls the Default member function. Override this member function in your derived class to handle the WM_NCRBUTTONDOWN message.
CWnd::OnNcHitTest, CWnd::OnNcRButtonDblClk, CWnd::OnNcRButtonUp, CWnd::Default, WM_NCRBUTTONDOWN