Prev Next
TabCtrl_SetCurSel info Overview GroupThe TabCtrl_SetCurSel macro selects a tab in a tab control. You can use this macro or explicitly send the TCM_SETCURSEL message. int TabCtrl_SetCurSel(
Parameters
Return ValuesReturns the index of the previously selected tab if successful or - 1 otherwise. RemarksA tab control does not send a TCN_SELCHANGING or TCN_SELCHANGE notification message when a tab is selected using the TCM_SETCURSEL message. See Also |