TCM_SETCURSELTCM_SETCURSEL*
*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.

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.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.