Jump to content

WM CONTROLPOINTER: Difference between revisions

From EDM2
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..."
 
 
Line 19: Line 19:
==Remarks==
==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.
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==
==Default Processing==

Latest revision as of 02:49, 19 April 2025

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.