CWnd::OnNcRButtonDown

Syntax

afx_msg void OnNcRButtonDown( UINT nHitTest, CPoint point );

Parameters

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.

Remarks

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.

See Also

CWnd::OnNcHitTest, CWnd::OnNcRButtonDblClk, CWnd::OnNcRButtonUp, CWnd::Default, WM_NCRBUTTONDOWN