Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IOleInPlaceFrame interface

Controls the container's top-level frame window. This control involves allowing the container to insert its menu group into the composite menu, install the composite menu into the appropriate window frame, and remove the container's menu elements from the composite menu. It sets and displays status text relevant to the in-place object. It also enables or disables the frame's modeless dialog boxes, and translates accelerator keystrokes intended for the container's frame.

When to implement

You will need to implement this interface if you are writing a container application that will be participating in in-place activation.

When to use

Note  This interface is not supported for use across machine boundaries.

This interface is used by object applications to control the display and placement of composite menus, keystroke accelerator translation, context-sensitive help mode, and modeless dialog boxes.

Members

The IOleInPlaceFrame interface inherits from IOleInPlaceUIWindow. IOleInPlaceFrame also has these types of members:

Methods

The IOleInPlaceFrame interface has these methods.

MethodDescription
EnableModeless

Enables or disables a frame's modeless dialog boxes.

InsertMenus

Enables the container to insert menu groups.

RemoveMenus

Removes a container's menu elements from the composite menu.

SetMenu

Adds a composite menu to the window frame containing the object being activated in place.

SetStatusText

Sets and displays status text about the in-place object in the container's frame window status line.

TranslateAccelerator

Translates accelerator keystrokes intended for the container's frame while an object is active in place.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OleIdl.h

IDL

OleIdl.Idl

IID

IID_IOleInPlaceFrame is defined as 00000116-0000-0000-C000-000000000046

See also

IOleInPlaceUIWindow
IOleWindow

 

 

Community Additions

Show:
© 2014 Microsoft