Contents Index Topic Contents | ||
Previous Topic: TabCtrl_GetCurFocus Next Topic: TabCtrl_GetExtendedStyle |
TabCtrl_GetCurSel
int TabCtrl_GetCurSel( HWND hwnd );Determines the currently selected tab in a tab control. You can use this macro or send the TCM_GETCURSEL message explicitly.
- Returns the index of the selected tab if successful, or -1 if no tab is selected.
- hwnd
- Handle to the tab control.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.