RB_HITTEST

This message determines which portion of a rebar band is at a specified point on the screen, if a rebar band exists at that point.

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later

Syntax

RB_HITTEST wParam = 0;
lParam = (LPARAM)(LPRBHITTESTINFO) lprbht;

Parameters

lprbht

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

Return Values

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