Share via


WM_LBUTTONUP (Windows CE 5.0)

Send Feedback

This message is posted when the user releases the stylus from the touch screen while the stylus is pressed to the touch screen in the client area of a window or when the user releases the left mouse button while the cursor is located within the client area of a window. If another window does not capture the stylus or mouse input, the OS posts the message to the window that contains the stylus tip or cursor. If another window captures the stylus or mouse input, the OS posts the message to the window that has the capture.

WM_LBUTTONUP fwKeys = wParam; 
  xPos = LOWORD(lParam); 
  yPos = HIWORD(lParam);

Parameters

  • fwKeys
    Indicates the mouse buttons and keys that the user pressed. The following table shows the possible values, which can be combined.
    Value Description
    MK_CONTROL The user pressed the CTRL key.
    MK_SHIFT The user pressed the SHIFT key.
  • xPos
    Value of the low-order word of lParam. Specifies the x-coordinate of the cursor, relative to the upper-left corner of the client area.
  • yPos
    Value of the high-order word of lParam. Specifies the y-coordinate of the cursor, relative to the upper-left corner of the client area.

Return Values

An application should return zero if it processes this message.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Windows.h.

See Also

GetCapture | SetCapture | WM_LBUTTONDBLCLK | WM_LBUTTONDOWN

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.