Jump to content

WM SINGLESELECT

From EDM2
Revision as of 04:19, 18 April 2025 by Martini (talk | contribs) (Created page with "This message occurs when the operator selects a single object. ==Syntax== <pre> param1 POINTS ptspointerpos; Pointer position.: param2 USHORT usPointer; 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 ''usPointer'' is not set to TRUE. ;''usPointer'' (USHORT) - input: Input device flag. :TR...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message occurs when the operator selects a single object.

Syntax

param1
    POINTS ptspointerpos; /* Pointer position. */

param2
    USHORT usPointer;     /* 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 usPointer is not set to TRUE.
usPointer (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_SINGLESELECT.

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 rc to FALSE.