共用方式為


CHeaderCtrl Members

Base Class Members

CObject Members

CCmdTarget Members

CWnd Members

Construction

CHeaderCtrl

Constructs a CHeaderCtrl object.

Create

Creates a header control and attaches it to a CHeaderCtrl object.

CreateEx

Creates a header control with the specified Windows extended styles and attaches it to a CListCtrl object.

Attributes

GetBitmapMargin

Retrieves the width of the margin of a bitmap in a header control.

GetFocusedItem

Gets the identifier of the item in the current header control that has the focus.

GetImageList

Retrieves the handle of an image list used for drawing header items in a header control.

GetItem

Retrieves information about an item in a header control.

GetItemCount

Retrieves a count of the items in a header control.

GetItemDropDownRect

Gets the bounding rectangle information for the specified drop-down button in a header control.

GetItemRect

Retrieves the bounding rectangle for a given item in a header control.

GetOrderArray

Retrieves the left-to-right order of items in a header control.

GetOverflowRect

Gets the bounding rectangle of the overflow button for the current header control.

OrderToIndex

Retrieves the index value for an item based on its order in the header control.

SetBitmapMargin

Sets the width of the margin of a bitmap in a header control.

SetFocusedItem

Sets the focus to a specified header item in the current header control.

SetImageList

Assigns an image list to a header control.

SetItem

Sets the attributes of the specified item in a header control.

SetOrderArray

Sets the left-to-right order of items in a header control.

Operations

ClearAllFilters

Clears all filters for a header control.

ClearFilter

Clears the filter for a header control.

CreateDragImage

Creates a transparent version of an item's image within a header control.

DeleteItem

Deletes an item from a header control.

EditFilter

Starts editing the specified filter of a header control.

HitTest

Determines which header item, if any, is located at a specified point.

InsertItem

Inserts a new item into a header control.

Layout

Retrieves the size and position of a header control within a given rectangle.

SetFilterChangeTimeout

Sets the timeout interval between the time a change takes place in the filter attributes and the posting of an HDN_FILTERCHANGE notification.

SetHotDivider

Changes the divider between header items to indicate a manual drag and drop of a header item.

Overridables

DrawItem

Draws the specified item of a header control.

See Also

Reference

CHeaderCtrl Class

Hierarchy Chart