Contents Index Topic Contents | ||
Previous Topic: HDM_HITTEST Next Topic: HDM_LAYOUT |
HDM_INSERTITEM
HDM_INSERTITEM wParam = (WPARAM) (int) index; lParam = (LPARAM) (const LPHDITEM) phdi;Inserts a new item into a header control. You can send this message explicitly or use the Header_InsertItem macro.
- Returns the index of the new item if successful, or -1 otherwise.
- index
- Index of the item after which the new item is to be inserted. The new item is inserted at the end of the header control if index is greater than or equal to the number of items in the control. If index is zero, the new item is inserted at the beginning of the header control.
- phdi
- Address of an HDITEM structure that contains information about the new item.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.