Partager via


Header Controls Macros (Compact 2013)

3/28/2014

The following table shows the header controls macros, with a description of the purpose of each.

Programming elements

Description

Header_CreateDragImage

This macro creates a transparent version of an item image within an existing header control.

Header_DeleteItem

This macro deletes an item from a header control.

Header_GetImageList

This macro retrieves the handle to the image list that has been set for an existing header control.

Header_GetItem

This macro retrieves information about an item in a header control.

Header_GetItemCount

This macro retrieves a count of the items in a header control.

Header_GetItemRect

This macro retrieves the bounding rectangle for a specified item in a header control.

Header_GetOrderArray

This macro retrieves the current left-to-right order of items in a header control.

Header_InsertItem

This macro inserts a new item into a header control.

Header_Layout

This macro retrieves the size and position of a header control within a specified rectangle.

Header_OrderToIndex

This macro retrieves an index value for an item based on its order in the header control.

Header_SetHotDivider

This macro changes the color of a divider between header items to indicate the destination of an external drag-and-drop operation.

Header_SetImageList

This macro assigns an image list to an existing header control.

Header_SetItem

This macro sets the attributes of the specified item in a header control.

Header_SetOrderArray

This macro sets the left-to-right order of header items.

See Also

Reference

Header Controls Reference