Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library

Header File
commctrl.h
Unicode
No
Platform Notes
None

TabCtrl_SetCurSel

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(

HWND hwnd,

int iItem

);

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 pics/WIN3200090000.gif 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

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database