Hide

SftTabs/DLL 6.5 - Tab Control

Display
Print

HitTest

Determines the tab index of the tab at a given location.

C

int SftTabs_HitTest(HWND hwndCtl, int x, int y);

C++

int CSftTabs::HitTest(int x, int y) const;

Parameters

hwndCtl

The window handle of the tab control.

x, y

The horizontal (x) and vertical (y) position (in pixels), relative to the top, left corner of the tab control window, for which the zero-based tab index is to be determined.

Returns

The return value is the zero-based index of the tab at the given coordinates (x and y). The return value is -1 if no tab is at the given location.

Comments

The HitTest function determines the tab index of the tab at a given location.

See Also C/C++ API | C++ Classes | Notifications


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.