Contents Index Topic Contents | ||
Previous Topic: TabCtrl_HighlightItem Next Topic: TabCtrl_InsertItem |
TabCtrl_HitTest
int TabCtrl_HitTest( HWND hwnd, LPTCHITTESTINFO pinfo );Determines which tab, if any, is at a specified screen position. You can use this macro or send the TCM_HITTEST message explicitly.
- Returns the index of the tab, or -1 if no tab is at the specified position.
- hwnd
- Handle to the tab control.
- pinfo
- Address of a TCHITTESTINFO structure that specifies the screen position to test.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.