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
IPerPropertyBrowsing Methods | |
GetDisplayString | Retrieves a string describing a given property. |
GetPredefinedStrings | Retrieves an array of strings corresponding to the values of property identified by a given DISPID. |
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. |
MapPropertyToPage | Retrieves the CLSID of the property page associated with a given property. |
IPerPropertyBrowsingImpl Overview
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
HRESULT GetPredefinedStrings( DISPID dispID, CALPOLESTR* pCaStringsOut, CADWORD* pCaCookiesOut );
See IPerPropertyBrowsing::GetPredefinedStrings in the Win32 SDK.
Remarks
Fills each array with zero items. ATLs implementation of GetPredefinedValue returns E_NOTIMPL.
IPerPropertyBrowsingImpl Overview | Class Members
HRESULT GetPredefinedValue( DISPID dispID, DWORD dwCookie, VARIANT* pVarOut );
See IPerPropertyBrowsing::GetPredefinedValue in the Win32 SDK.
Remarks
Returns E_NOTIMPL. ATLs implementation of GetPredefinedStrings retrieves no corresponding strings.
IPerPropertyBrowsingImpl Overview | Class Members
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 objects property map to obtain this information.
IPerPropertyBrowsingImpl Overview | Class Members
See Also BEGIN_PROPERTY_MAP