RB_HITTEST message

Determines which portion of a rebar band is at a given point on the screen, if a rebar band exists at that point.

Parameters

wParam
Must be zero.
lParam

Pointer to an RBHITTESTINFO structure. Before sending the message, the pt member of this structure must be initialized to the point that will be hit tested, in client coordinates.

Return value

Returns the zero-based index of the band at the given point, or -1 if no rebar band was at the point.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: