共用方式為


CListCtrl::GetHeaderCtrl

Retrieves the header control of a list view control.

CHeaderCtrl* GetHeaderCtrl( );

Return Value

A pointer to the header control, used by the list view control.

Remarks

This member function implements the behavior of the Win32 macro, ListView_GetHeader, as described in the Windows SDK.

Example

See the example for CListCtrl::GetColumnOrderArray.

Requirements

Header: afxcmn.h

See Also

Reference

CListCtrl Class

Hierarchy Chart

CHeaderCtrl Class