Jump to content

WM CONTROLPOINTER

From EDM2

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.

Default Processing

The default window procedure returns hptrNew.