description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||||
---|---|---|---|---|---|---|---|---|---|
Learn more about: CMFCPropertyPage Class |
CMFCPropertyPage Class |
11/04/2016 |
|
|
d279d7f2-2d81-418d-9f23-6147d6e8df09 |
The CMFCPropertyPage
class supports the display of pop-up menus on a property page.
class CMFCPropertyPage : public CPropertyPage
Name | Description |
---|---|
CMFCPropertyPage::CMFCPropertyPage | Constructs a CMFCPropertyPage object. |
CMFCPropertyPage::~CMFCPropertyPage |
Destructor. |
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 .) |
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.
Header: afxpropertypage.h
Constructs a CMFCPropertyPage
object.
CMFCPropertyPage(
UINT nIDTemplate,
UINT nIDCaption=0);
CMFCPropertyPage(
LPCTSTR lpszTemplateName,
UINT nIDCaption=0);
nIDTemplate
Resource ID of the template for this page.
nIDCaption
Resource ID of the label to put in the tab for this page. If 0, the name is obtained from the dialog box template for this page. The default value is 0.
lpszTemplateName
Points to the name of the template for this page. Cannot be NULL.
For more information about the constructor parameters, see CPropertyPage::CPropertyPage.