Share via


CMFCPropertyPage Class

The CMFCPropertyPage class supports the display of pop-up menus on a property page.

class CMFCPropertyPage : public CPropertyPage

Members

Public Constructors

Name

Description

CMFCPropertyPage::CMFCPropertyPage

Constructs a CMFCPropertyPage object.

CMFCPropertyPage::~CMFCPropertyPage

Destructor.

Public Methods

Name

Description

CMFCPropertyPage::CreateObject

Used by the framework to create a dynamic instance of this class type.

CMFCPropertyPage::GetThisClass

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

CMFCPropertyPage::OnSetActive

This member function is called by the framework when the page is chosen by the user and becomes the active page. (Overrides CPropertyPage::OnSetActive.)

CMFCPropertyPage::PreTranslateMessage

Translates window messages before they are dispatched to the TranslateMessage and DispatchMessage Windows functions. For more information and method syntax, see CWnd::PreTranslateMessage. (Overrides CPropertyPage::PreTranslateMessage.)

Remarks

The CMFCPropertyPage class represents individual pages of a property sheet, otherwise known as a tab dialog box.

Use the CMFCPropertyPage class together with the CMFCPropertySheet class. To use menus on a property page, replace all occurrences of the CPropertyPage class with the CMFCPropertyPage class.

Inheritance Hierarchy

CObject

   CCmdTarget

      CWnd

         CDialog

            CPropertyPage

               CMFCPropertyPage

Requirements

Header: afxpropertypage.h

See Also

Reference

Hierarchy Chart

CMFCPropertySheet Class

Other Resources

MFC Classes