Contents Index Topic Contents | ||
Previous Topic: TCM_HITTEST Next Topic: TCM_REMOVEIMAGE |
TCM_INSERTITEM
TCM_INSERTITEM wParam = (WPARAM) (int) iItem; lParam = (LPARAM) (const LPTCITEM) pitem;Inserts a new tab in a tab control. You can send this message explicitly or by using the TabCtrl_InsertItem macro.
- Returns the index of the new tab if successful, or -1 otherwise.
- 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.