Partager via


TabCtrl_HitTest (Windows CE 5.0)

Send Feedback

This macro determines which tab, if any, is at a specified screen position. You can use this macro or send the TCM_HITTEST message explicitly.

intTabCtrl_HitTest( HWNDhwnd, TC_HITTESTINFOFAR* pinfo );

Parameters

  • hwnd
    Handle to the tab control.
  • pinfo
    Pointer to a TCHITTESTINFO structure that specifies the screen position to test.

Return Values

The index of the tab indicates success. –1 indicates that no tab is at the specified position.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

TCM_HITTEST | TCHITTESTINFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.