共用方式為


CMFCListCtrl::GetHeaderCtrl

Returns a reference to the header control.

virtual CMFCHeaderCtrl& GetHeaderCtrl();

Return Value

A reference to the underlying CMFCHeaderCtrl object.

Remarks

The header control for a list control is the window that contains the titles for the columns. It is usually positioned directly above the columns.

Requirements

Header: afxlistctrl.h

See Also

Reference

CMFCListCtrl Class

Hierarchy Chart

CMFCHeaderCtrl Class