IOleControlSite::ShowPropertyFrame (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HRESULT ShowPropertyFrame(void);

Return Value

This method supports the following return values:

Value Description

S_OK

The container successfully displayed property pages for this control and the control must not show its own.

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

Header ocidl.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IOleControlSite
COM Interfaces