CReBarCtrl::HitTest

int HitTest( RBHITTESTINFO* prbht );

Return Value

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

Parameters

prbht

A pointer to a RBHITTESTINFO structure. Before sending the message, the pt member of this structure must be initialized to the point that will be tested, in client coordinates.

Remarks

This member function implements the behavior of the Win32 message RB_HITTEST, as described in the Platform SDK.

CReBarCtrl OverviewClass MembersHierarchy Chart