Header Control Messages

An application sends messages to add items, to retrieve item and control properties, and to control the appearance and behavior of a header control. Most of these messages have a corresponding macro that you can use instead of sending the message explicitly.

Message Corresponding Macro
HDM_DELETEITEM Header_DeleteItem
HDM_GETITEM Header_GetItem
HDM_GETITEMCOUNT Header_GetItemCount
HDM_HITTEST  
HDM_INSERTITEM Header_InsertItem
HDM_LAYOUT Header_Layout
HDM_SETITEM Header_SetItem