Compartilhar via


CReBarCtrl::HitTest

Implements the behavior of the Win32 message RB_HITTEST, as described in the Windows SDK.

int HitTest( 
   RBHITTESTINFO* prbht  
);

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.

Return Value

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

Requirements

Header: afxcmn.h

See Also

Reference

CReBarCtrl Class

Hierarchy Chart