![]()  | ||
  | ||
  | ||
TabCtrl_InsertItem
int TabCtrl_InsertItem( HWND hwnd, int iItem, const LPTCITEM pitem );Inserts a new tab in a tab control. You can use this macro or send the TCM_INSERTITEM message explicitly.
- Returns the index of the new tab if successful, or -1 otherwise.
 
- hwnd
 - Handle to the tab control.
 - iItem
 - Index of the new tab.
 - pitem
 - Address of a TCITEM structure that specifies the attributes of the tab. The dwState and dwStateMask members of this structure are ignored by this message.
 
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.