Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library

Header File
commctrl.h
Unicode
WinNT
Platform Notes
None

TabCtrl_InsertItem

The TabCtrl_InsertItem macro inserts a new tab in a tab control. You can use this macro or explicitly send the TCM_INSERTITEM message.

int TabCtrl_InsertItem(

HWND hwnd,

int iItem,

const TC_ITEM FAR *pitem

);

Parameters

hwnd

Handle to the tab control.

iItem

Index of the new tab.

pitem

Pointer to a TC_ITEM structure that specifies the attributes of the tab.

Return Values

Returns the index of the new tab if successful or pics/WIN3200090000.gif 1 otherwise.

See Also

TC_ITEM
, TCM_INSERTITEM

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples