ISimpleFrameSite interface (ocidl.h)

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.


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


The ISimpleFrameSite interface has these methods.


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

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.


Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ocidl.h

See also