Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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