This macro determines the currently selected tab in a tab control. You can use this macro or send the TCM_GETCURSEL message explicitly.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 1.0 and later |
Related message: | TCM_GETCURSEL |
Syntax
int TabCtrl_GetCurSel( HWND hwnd );
Parameters
hwnd
Handle to the tab control.
Return Values
The index of the selected tab indicates success. –1 indicates that no tab is selected.