Jump to content

WM BEGINDRAG

From EDM2
Revision as of 04:11, 14 April 2025 by Martini (talk | contribs) (Created page with "This message occurs when the operator initiates a drag operation. ==Syntax== <pre> param1 POINTS ptspointerpos; Pointer position.: param2 USHORT fPointer; Input device flag.: </pre> ==Parameters== ;''ptspointerpos'' (POINTS) - input: Pointer position 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 res...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message occurs when the operator initiates a drag operation.

Syntax

param1
    POINTS ptspointerpos; /* Pointer position. */

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

Parameters

ptspointerpos (POINTS) - input
Pointer position 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_BEGINDRAG.

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.