Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ISimpleFrameSite

ISimpleFrameSite interface

Provides simple frame controls that act as simple containers for other nested controls. Some controls merely contain other controls. In such cases, the simple control container, called a simple frame, need not implement all container requirements. It can delegate most of the interface calls from its contained controls to the outer container that manages the simple frame. To support what are called simple frame controls, a container implements this interface as well as other site interfaces such as IOleControlSite.

An example of a simple frame control is a group box that only needs to capture a few keystrokes for its contained controls to implement the correct tab or arrow key behavior, but does not want to handle every other message. Through the two methods of this interface, the simple frame control passes messages to its control site both before and after its own processing. If that site is itself a simple frame, it can continue to pass messages up the chain.

When to implement

Implement this interface on a control object to support nested controls without requiring the control to itself be a full container.

When to use

Use this interface to pass messages to a container for processing.

Members

The ISimpleFrameSite interface inherits from the IUnknown interface. ISimpleFrameSite also has these types of members:

Methods

The ISimpleFrameSite interface has these methods.

MethodDescription
PostMessageFilter

Sends the simple frame site a message that is received by a control's own window after the control has processed the message.

PreMessageFilter

Provides a site with the opportunity to process a message that is received by a control's own window before the control itself does any processing.

 

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_ISimpleFrameSite is defined as 742B0E01-14E6-101B-914E-00AA00300CAB

See also

IOleControl
IOleControlSite

 

 

Community Additions

ADD
Show:
© 2015 Microsoft