Partager via


CMFCPropertyGridFontProperty Class

The CMFCPropertyGridFileProperty class supports a property list control item that opens a font selection dialog box.

class CMFCPropertyGridFontProperty : public CMFCPropertyGridProperty

Members

Public Constructors

Name

Description

CMFCPropertyGridFontProperty::CMFCPropertyGridFontProperty

Constructs a CMFCPropertyGridFontProperty object.

CMFCPropertyGridFontProperty::~CMFCPropertyGridFontProperty

Destructor.

Public Methods

Name

Description

CMFCPropertyGridFontProperty::FormatProperty

Formats the text representation of a property value. (Overrides CMFCPropertyGridProperty::FormatProperty.)

CMFCPropertyGridFontProperty::GetColor

Retrieves the font color that the user selects from the font dialog box.

CMFCPropertyGridFontProperty::GetLogFont

Retrieves the font that the user selects from the font dialog box.

CMFCPropertyGridFontProperty::GetThisClass

Used by the framework to obtain a pointer to the CRuntimeClass object that is associated with this class type.

CMFCPropertyGridFontProperty::OnClickButton

Called by the framework when the user clicks a button that is contained in a property. (Overrides CMFCPropertyGridProperty::OnClickButton.)

Inheritance Hierarchy

CObject

   CMFCPropertyGridProperty

      CMFCPropertyGridFontProperty

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

Hierarchy Chart

CMFCPropertyGridCtrl Class

CMFCPropertyGridProperty Class

Other Resources

MFC Classes