TabCtrl_InsertItemTabCtrl_InsertItem*
*Contents  *Index  *Topic Contents
*Previous Topic: TabCtrl_HitTest
*Next Topic: TabCtrl_RemoveImage

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.

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.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.