Jump to content

WM PICKUP

From EDM2
Revision as of 23:22, 20 April 2025 by Martini (talk | contribs) (Created page with "This message adds objects to the drag set during a lazy drag operation. ==Syntax== <PRE> param1 POINTL ptlPointerPos; Pointer position in window coordinates relative to the bottom-left corner of the window.: param2 ULONG Reserved; Reserved value, must be 0.: returns BOOL rc; Success indicator.: </PRE> ==Parameters== ;ptlPointerPos (POINTL) - Input : Pointer position in window coordinates relative to the bottom-left corner of the win...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message adds objects to the drag set during a lazy drag operation.

Syntax

param1
POINTL ptlPointerPos; /* Pointer position in window coordinates relative to the bottom-left corner of the window. */

param2
ULONG Reserved;      /* Reserved value, must be 0. */

returns
BOOL rc;             /* Success indicator. */

Parameters

ptlPointerPos (POINTL) - Input
Pointer position in window coordinates relative to the bottom-left corner of the window.
Reserved (ULONG) - Input
Reserved value, must be 0.

Returns

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

Remarks

This message will be 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.

WM_PICKUP message is sent to the window under the mouse pointer when the user presses the direct-manipulation button while holding down the lazy drag augmentation key (currently the ALT key). This message is used to inform an application that the user is commencing a lazy drag operation. The container control sends its owner a CN_PICKUP notification when it receives this message.

Objects are added to the drag set when a WM_PICKUP message is received. The first time the message is received, the application initiates a lazy drag operation. Each subsequent WM_PICKUP message that is received during the course of the lazy drag operation indicates that objects are to be added to the drag set.

Default Processing

The default message procedure sets rc to TRUE.