共用方式為


CMFCHeaderCtrl::IsDialogControl

Indicates whether the parent window of the current header control is a dialog box.

BOOL IsDialogControl() const;

Return Value

TRUE if the parent window of the current header control is a dialog box; otherwise, FALSE.

Requirements

Header: afxheaderctrl.h

See Also

Reference

CMFCHeaderCtrl Class

Hierarchy Chart