Contents Index Topic Contents | ||
Previous Topic: TCM_SETCURFOCUS Next Topic: TCM_SETEXTENDEDSTYLE |
TCM_SETCURSEL
TCM_SETCURSEL wParam = (WPARAM) (int) iItem; lParam = 0;Selects a tab in a tab control. You can send this message explicitly or by using the TabCtrl_SetCurSel macro.
- Returns the index of the previously selected tab if successful, or -1 otherwise.
- iItem
- Index of the tab to select.
A tab control does not send a TCN_SELCHANGING or TCN_SELCHANGE notification message when a tab is selected using this message.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.