TCM_HITTEST

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related macro: TabCtrl_HitTest

Syntax

  1. TCM_HITTEST wParam = 0;
    lParam = (LPARAM)(TC_HITTESTINFO FAR *) pinfo;

Parameters

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.

See Also

TC_HITTESTINFO