COleControl::OnMapPropertyToPage

virtual BOOL OnMapPropertyToPage( DISPID dispid, LPCLSID lpclsid, BOOL* pbPageOptional );

Return Value

Nonzero if a class ID has been returned in lpclsid; otherwise 0.

Parameters

dispid

The dispatch ID of a property of the control.

lpclsid

Pointer to a CLSID structure through which a class ID will be returned.

pbPageOptional

Returns an indicator of whether use of the specified property page is optional.

Remarks

Called by the framework to obtain the class ID of a property page that implements editing of the specified property.

Override this function to provide a way to invoke your control’s property pages from the container’s property browser.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::OnGetDisplayString