Header Controls Messages

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Programming element Description

HDM_CREATEDRAGIMAGE

This message creates a transparent version of an item's image within an existing header control.

HDM_DELETEITEM

This message deletes an item from a header control.

HDM_GETIMAGELIST

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

HDM_GETITEM

This message retrieves data about an item in a header control.

HDM_GETITEMCOUNT

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

HDM_GETITEMRECT

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

HDM_GETORDERARRAY

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

HDM_HITTEST

This message tests a point to determine which header item, if any, is at the specified point.

HDM_INSERTITEM

This message inserts a new item into a header control.

HDM_LAYOUT

Retrieves the correct header control size and position within the parent window.

HDM_ORDERTOINDEX

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

HDM_SETHOTDIVIDER

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

HDM_SETIMAGELIST

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

HDM_SETITEM

This message sets the specified item attributes in a header control.

HDM_SETORDERARRAY

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

See Also

Reference

Header Controls Reference