IPerPropertyBrowsingImpl

template< class T >
class IPerPropertyBrowsingImpl

Parameters

T Your class, derived from IPerPropertyBrowsingImpl.

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

#include <atlctl.h>

See Also IPropertyPageImpl, ISpecifyPropertyPagesImpl, IPerPropertyBrowsing in the Win32 SDK


IPerPropertyBrowsingImpl Class Members

IPerPropertyBrowsing Methods
GetDisplayStringRetrieves a string describing a given property.
GetPredefinedStringsRetrieves an array of strings corresponding to the values of property identified by a given DISPID.
GetPredefinedValueRetrieves 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.
MapPropertyToPageRetrieves the CLSID of the property page associated with a given property.

IPerPropertyBrowsingImpl Overview


Methods


IPerPropertyBrowsingImpl::GetDisplayString

HRESULT GetDisplayString( DISPID dispID, BSTR* pBstr );

See IPerPropertyBrowsing::GetDisplayString in the Win32 SDK.

Remarks

Retrieves a string describing a given property.

IPerPropertyBrowsingImpl Overview | Class Members


IPerPropertyBrowsingImpl::GetPredefinedStrings

HRESULT GetPredefinedStrings( DISPID dispID, CALPOLESTR* pCaStringsOut, CADWORD* pCaCookiesOut );

See IPerPropertyBrowsing::GetPredefinedStrings in the Win32 SDK.

Remarks

Fills each array with zero items. ATL’s implementation of GetPredefinedValue returns E_NOTIMPL.

IPerPropertyBrowsingImpl Overview | Class Members


IPerPropertyBrowsingImpl::GetPredefinedValue

HRESULT GetPredefinedValue( DISPID dispID, DWORD dwCookie, VARIANT* pVarOut );

See IPerPropertyBrowsing::GetPredefinedValue in the Win32 SDK.

Remarks

Returns E_NOTIMPL. ATL’s implementation of GetPredefinedStrings retrieves no corresponding strings.

IPerPropertyBrowsingImpl Overview | Class Members


IPerPropertyBrowsingImpl::MapPropertyToPage

HRESULT MapPropertyToPage( DISPID dispID, CLSID* pClsid );

See IPerPropertyBrowsing::MapPropertyToPage in the Win32 SDK.

Remarks

Retrieves the CLSID of the property page associated with the specified property. ATL uses the object’s property map to obtain this information.

IPerPropertyBrowsingImpl Overview | Class Members

See Also BEGIN_PROPERTY_MAP