Call this member function to create the header control and attach it to the CHeaderCtrl object.
You construct a CHeaderCtrl object in two steps. First call the contructor, then call Create.
BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID );
Header file: | Afxcmn.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
Windows CE supports two new styles for header controls. The HDS_DRAGDROP style allows drag-and-drop reordering of header items. The HDS_FULLDRAG style causes the header control to display column contents even while a user resizes a column. For more infromation on supported header control styles, see Header Control Styles.
CHeaderCtrl Overview, CHeaderCtrl Member Functions, Control Classes, CHeaderCtrl::CHeaderCtrl