int HitTest( TCHITTESTINFO* pHitTestInfo ) const;
Return Value
Returns the zero-based index of the tab or – 1 if no tab is at the specified position.
Parameters
pHitTestInfo
Pointer to a TCHITTESTINFO structure, as described in the Platform SDK, which specifies the screen position to test.
Remarks
Call this function to determine which tab, if any, is at the specified screen position.