Поделиться через


IPerPropertyBrowsingImpl Class

This class implements IUnknown and allows a client to access the information in an object's property pages.

Important

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

template< 
class T  
> 
class ATL_NO_VTABLE IPerPropertyBrowsingImpl : 
public IPerPropertyBrowsing

Parameters

  • T
    Your class, derived from IPerPropertyBrowsingImpl.

Members

Public Methods

Name

Description

IPerPropertyBrowsingImpl::GetDisplayString

Retrieves a string describing a given property.

IPerPropertyBrowsingImpl::GetPredefinedStrings

Retrieves an array of strings corresponding to the values that a given property can accept.

IPerPropertyBrowsingImpl::GetPredefinedValue

Retrieves a VARIANT containing the value of a property identified by a given DISPID. The DISPID is associated with the string name retrieved from GetPredefinedStrings. The ATL implementation returns E_NOTIMPL.

IPerPropertyBrowsingImpl::MapPropertyToPage

Retrieves the CLSID of the property page associated with a given property.

Remarks

The IPerPropertyBrowsing interface allows a client to access the information in an object's property pages. Class IPerPropertyBrowsingImpl provides a default implementation of this interface and implements IUnknown by sending information to the dump device in debug builds.

Note

If you are using Microsoft Access as the container application, you must derive your class from IPerPropertyBrowsingImpl. Otherwise, Access will not load your control.

Related Articles   ATL Tutorial, Creating an ATL Project

Inheritance Hierarchy

IPerPropertyBrowsing

IPerPropertyBrowsingImpl

Requirements

Header: atlctl.h

See Also

Reference

IPropertyPageImpl Class

ISpecifyPropertyPagesImpl Class

Other Resources

ATL Class Overview