TabCtrl_GetCurSel
The TabCtrl_GetCurSel
macro determines the currently selected tab in a tab control. You can use this
macro or explicitly send the TCM_GETCURSEL
int TabCtrl_GetCurSel(
HWND hwnd |
|
); |
|
Parameters
hwnd
Handle to the
tab control.
Return Values
Returns the
index of the selected tab if successful or
- 1 if no tab is selected.
See Also