Jump to content

WM OPEN

From EDM2
Revision as of 03:54, 18 April 2025 by Martini (talk | contribs) (Created page with "This message occurs when the operator makes an **OPEN** request. ==Syntax== <pre> param1 USHORT usPointer; Input device flag.: param2 POINTS ptspointerpos; Pointer position.: </pre> ==Parameters== ;''usPointer'' (USHORT) - input: Input device flag. :TRUE: Message resulted from pointer event :FALSE: Message resulted from keyboard event ;''ptspointerpos'' (POINTS) - input: The pointer position is in window coordinates relative to the bottom...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message occurs when the operator makes an **OPEN** request.

Syntax

param1
    USHORT usPointer;     /* Input device flag. */

param2
    POINTS ptspointerpos; /* Pointer position. */

Parameters

usPointer (USHORT) - input
Input device flag.
TRUE: Message resulted from pointer event
FALSE: Message resulted from keyboard event
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.

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_OPEN.

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.