This message selects a tab in a tab control. You can send this message explicitly or by using the TabCtrl_SetCurSel macro.
At a Glance
| Header file: | Commctrl.h |
| Windows CE versions: | 1.0 and later |
| Related macro: | TabCtrl_SetCurSel |
Syntax
Parameters
iItem
Index of the tab to select.
Return Values
The index of the previously selected tab indicates success. –1 indicates otherwise.
See Also