Jump to content

WM ENDSELECT

From EDM2
Revision as of 17:47, 15 April 2025 by Martini (talk | contribs) (Created page with "This message occurs when the operator either makes a selection or completes a swipe selection. ==Syntax== <pre> param1 POINTS ptspointerpos; Pointer position.: param2 USHORT fPointer; Input device flag.: </pre> ==Parameters== ;''ptspointerpos'' (POINTS) - input: The pointer position is in window coordinates relative to the bottom-left corner of the window. This value is ignored if ''fPointer'' is not set to TRUE. ;''fPointer'' (USHORT) -...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message occurs when the operator either makes a selection or completes a swipe selection.

Syntax

param1
    POINTS ptspointerpos; /* Pointer position. */

param2
    USHORT fPointer;     /* Input device flag. */

Parameters

ptspointerpos (POINTS) - input
The pointer position is in window coordinates relative to the bottom-left corner of the window. This value is ignored if fPointer is not set to TRUE.
fPointer (USHORT) - input
Input device flag.
TRUE: Message resulted from pointer event
FALSE: Message resulted from keyboard event.

Returns

rc (BOOL) - returns
Processed indicator.
TRUE: Message processed
FALSE: Message ignored

Remarks

This message is posted to the application queue associated with the window that has the focus, or with the window that is to receive the pointer-button information. This message will result from a mouse event, specified by the system value SV_ENDSELECT.

Default Processing

The default window procedure sends the message to the owner window if it exists, otherwise it takes no action on this message, other than to set result to FALSE.