Prev Next
The 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
-
hwnd
-
Handle to the tab control.
-
iItem
-
Index of the tab to select.
Return Values
Returns the index of the previously selected tab if successful or - 1 otherwise.
Remarks
A 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
TCM_SETCURSEL, TCN_SELCHANGE,
TCN_SELCHANGING
file: /Techref/os/win/api/win32/mac/src/mac04_15.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/12/28 20:17,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/os/win/api/win32/mac/src/mac04_15.htm"> TabCtrl_SetCurSel</A> |
Did you find what you needed?
|
|
Welcome to techref.massmind.org!
|
.
|