WM_NCRBUTTONUP

2.x

WM_NCRBUTTONUP
wHitTestCode = wParam;    /* hit-test code              */
xPos = LOWORD(lParam);    /* horizontal cursor position */
yPos = HIWORD(lParam);    /* vertical cursor position   */

The WM_NCRBUTTONUP message is sent to a window when the user releases the right mouse button while the cursor is within a nonclient area of the window.

Parameters

wHitTestCode

Value of wParam. Specifies the code returned by WM_NCHITTEST. For more information, see the description of the WM_NCHITTEST message.

xPos

Value of the low-order word of lParam. Specifies the x-coordinate of the cursor, as a screen coordinate.

yPos

Value of the high-order word of lParam. Specifies the y-coordinate of the cursor, as a screen coordinate.

Return Value

An application should return zero if it processes this message.

See Also

WM_NCHITTEST, WM_NCRBUTTONDBLCLK, WM_NCRBUTTONDOWN