Share via


COlePropertyPage Class

Used to display the properties of a custom control in a graphical interface, similar to a dialog box.

class AFX_NOVTABLE COlePropertyPage : public CDialog

Members

Public Constructors

Name

Description

COlePropertyPage::COlePropertyPage

Constructs a COlePropertyPage object.

Public Methods

Name

Description

COlePropertyPage::GetControlStatus

Indicates whether the user has modified the value in the control.

COlePropertyPage::GetObjectArray

Returns the array of objects being edited by the property page.

COlePropertyPage::GetPageSite

Returns a pointer to the property page's IPropertyPageSite interface.

COlePropertyPage::IgnoreApply

Determines which controls do not enable the Apply button.

COlePropertyPage::IsModified

Indicates whether the user has modified the property page.

COlePropertyPage::OnEditProperty

Called by the framework when the user edits a property.

COlePropertyPage::OnHelp

Called by the framework when the user invokes help.

COlePropertyPage::OnInitDialog

Called by the framework when the property page is initialized.

COlePropertyPage::OnObjectsChanged

Called by the framework when another OLE control, with new properties, is chosen.

COlePropertyPage::OnSetPageSite

Called by the framework when the property frame provides the page's site.

COlePropertyPage::SetControlStatus

Sets a flag indicating whether the user has modified the value in the control.

COlePropertyPage::SetDialogResource

Sets the property page's dialog resource.

COlePropertyPage::SetHelpInfo

Sets the property page's brief help text, the name of its help file, and its help context.

COlePropertyPage::SetModifiedFlag

Sets a flag indicating whether the user has modified the property page.

COlePropertyPage::SetPageName

Sets the property page's name (caption).

Remarks

For instance, a property page may include an edit control that allows the user to view and modify the control's caption property.

Each custom or stock control property can have a dialog control that allows the control's user to view the current property value and modify that value if needed.

For more information on using COlePropertyPage, see the article ActiveX Controls: Property Pages.

Inheritance Hierarchy

CObject

CCmdTarget

CWnd

CDialog

COlePropertyPage

Requirements

Header: afxctl.h

See Also

Reference

CDialog Class

Hierarchy Chart

CDialog Class

Concepts

MFC Sample CIRC3

MFC Sample TESTHELP