다음을 통해 공유


IPropertyPageImpl Class

This class implements IUnknown and provides a default implementation of the IPropertyPage interface.

Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

template< class T> 
class IPropertyPageImpl

Parameters

  • T
    Your class, derived from IPropertyPageImpl.

Members

Public Constructors

Name

Description

IPropertyPageImpl::IPropertyPageImpl

Constructor.

Public Methods

Name

Description

IPropertyPageImpl::Activate

Creates the dialog box window for the property page.

IPropertyPageImpl::Apply

Applies current property page values to the underlying objects specified through SetObjects. The ATL implementation returns S_OK.

IPropertyPageImpl::Deactivate

Destroys the window created with Activate.

IPropertyPageImpl::GetPageInfo

Retrieves information about the property page.

IPropertyPageImpl::Help

Invokes Windows help for the property page.

IPropertyPageImpl::IsPageDirty

Indicates whether the property page has changed since it was activated.

IPropertyPageImpl::Move

Positions and resizes the property page dialog box.

IPropertyPageImpl::SetDirty

Flags the property page's state as changed or unchanged.

IPropertyPageImpl::SetObjects

Provides an array of IUnknown pointers for the objects associated with the property page. These objects receive the current property page values through a call to Apply.

IPropertyPageImpl::SetPageSite

Provides the property page with an IPropertyPageSite pointer, through which the property page communicates with the property frame.

IPropertyPageImpl::Show

Makes the property page dialog box visible or invisible.

IPropertyPageImpl::TranslateAccelerator

Processes a specified keystroke.

Public Data Members

Name

Description

IPropertyPageImpl::m_bDirty

Specifies whether the property page's state has changed.

IPropertyPageImpl::m_dwDocString

Stores the resource identifier associated with the text string describing the property page.

IPropertyPageImpl::m_dwHelpContext

Stores the context identifier for the help topic associated with the property page.

IPropertyPageImpl::m_dwHelpFile

Stores the resource identifier associated with the name of the help file describing the property page.

IPropertyPageImpl::m_dwTitle

Stores the resource identifier associated with the text string that appears in the tab for the property page.

IPropertyPageImpl::m_nObjects

Stores the number of objects associated with the property page.

IPropertyPageImpl::m_pPageSite

Points to the IPropertyPageSite interface through which the property page communicates with the property frame.

IPropertyPageImpl::m_ppUnk

Points to an array of IUnknown pointers to the objects associated with the property page.

IPropertyPageImpl::m_size

Stores the height and width of the property page's dialog box, in pixels.

Remarks

The IPropertyPage interface allows an object to manage a particular property page within a property sheet. Class IPropertyPageImpl provides a default implementation of this interface and implements IUnknown by sending information to the dump device in debug builds.

Related Articles   ATL Tutorial, Creating an ATL Project

Inheritance Hierarchy

IPropertyPage

IPropertyPageImpl

Requirements

Header: atlctl.h

See Also

Reference

IPropertyPage2Impl Class

IPerPropertyBrowsingImpl Class

ISpecifyPropertyPagesImpl Class

Other Resources

ATL Class Overview