Export (0) Print
Expand All

IOleControlSite::ShowPropertyFrame method

Instructs a container to display a property sheet for the control embedded in this site.

Syntax


HRESULT ShowPropertyFrame();

Parameters

This method has no parameters.

Return value

This method can return the standard return value E_OUTOFMEMORY, as well as the following values.

Return codeDescription
S_OK

The method completed successfully.

E_NOTIMPL

The container does not need to show property pages itself.

 

Remarks

A control must always call this method in the container first when it intends to show its own property pages. Calling this method gives the container a chance to have those property pages work with the container's extended controls. The container may include its own property pages as well in such cases, which doesn't affect the control at all. If the container does not implement this method or if it returns a failure of any kind, the control can show its property pages directly. Otherwise, the container has shown the pages.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IOleControlSite is defined as B196B289-BAB4-101A-B69C-00AA00341D07

See also

IOleControlSite

 

 

Community Additions

ADD
Show:
© 2015 Microsoft