TCM_SETCURSEL (Windows CE 5.0)
This message selects a tab in a tab control. You can send this message explicitly or by using the TabCtrl_SetCurSel macro.
TCM_SETCURSEL wParam= (WPARAM)(int)iItem;lParam= 0;
Parameters
- iItem
Index of the tab to select. - lParam
Not used.
Return Values
The index of the previously selected tab indicates success. –1 indicates otherwise.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.
See Also
TCN_SELCHANGE | TCN_SELCHANGING
Send Feedback on this topic to the authors