CWnd::OnNcMButtonDown

Syntax

afx_msg void OnNcMButtonDown( 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 middle 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_NCMBUTTONDOWN message.

See Also

CWnd::OnNcHitTest, CWnd::OnNcMButtonUp, WM_NCMBUTTONDOWN, CWnd::Default