Jump to content

WM CONTROLPOINTER

From EDM2
Revision as of 02:49, 19 April 2025 by Martini (talk | contribs) (Created page with "This message is sent to a owner window of a control when the pointing device pointer moves over the control window, allowing the owner to set the pointing device pointer. ==Syntax== <pre> param1 USHORT usidCtl; Control identifier.: param2 HPOINTER hptrNew; Handle of the pointing device pointer that the control is to use.: </pre> ==Parameters== ;''usidCtl'' (USHORT) - input: Control identifier. ;''hptrNew'' (HPOINTER) - input: Handle of the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is sent to a owner window of a control when the pointing device pointer moves over the control window, allowing the owner to set the pointing device pointer.

Syntax

param1
    USHORT   usidCtl; /* Control identifier. */

param2
    HPOINTER hptrNew; /* Handle of the pointing device pointer that the control is to use. */

Parameters

usidCtl (USHORT) - input
Control identifier.
hptrNew (HPOINTER) - input
Handle of the pointing device pointer that the control is to use.

Returns

hptrRet (HPOINTER) - returns
Returned pointing device-pointer handle that is then used by the control.

Remarks

The recommended approach for an application, that does not have specific reasons for controlling the pointer appearance, is to pass the message to the default window procedure.

in Circular Slider Controls

Default Processing

The default window procedure returns hptrNew.