WM_NCLBUTTONUP

2.x

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

The WM_NCLBUTTONUP message is sent to a window when the user releases the left 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, in screen coordinates.

yPos

Value of the high-order word of lParam. Specifies the y-coordinate of the cursor, in screen coordinates.

Return Value

An application should return zero if it processes this message.

Comments

If appropriate, WM_SYSCOMMAND messages are sent.

See Also

WM_NCHITTEST, WM_NCLBUTTONDOWN, WM_NCLBUTTONUP, WM_SYSCOMMAND