IOleInPlaceFrame  ZKU7EO

The 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

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.

Methods in VTable Order

IUnknown Methods

Description

QueryInterface2Y54585

Returns a pointer to a specified interface.

AddRef1SHW0SS

Increments the reference count.

ReleaseDUW01A

Decrements the reference count.

 

IOleWindow Methods

Description

GetWindow2MLJP1W

Gets a window handle.

ContextSensitiveHelp2Q6WFYP

Controls enabling of context-sensitive help.

 

IOleInPlaceUIWindow Methods

Description

GetBorder1SF_EEP

Translates messages.

RequestBorderSpace1LXZ09N

State of container s top-level frame.

SetBorderSpace2XQZ9CD

State of container document window.

SetActiveObject_23AHE

Alert object of need to resize border space.

 

IOleInPlaceFrame Methods

Description

InsertMenus1EWLZTL

Allows container to insert menus.

SetMenu81VZ_S

Adds a composite menu to window frame.

RemoveMenusBA2ZV9

Removes a container s menu elements.

SetStatusText4V1T_G

Sets and displays status text about.

EnableModelessA_S8BB

Enables or disables modeless dialog boxes.

TranslateAccelerator102L9S4

Translates keystrokes.

 

See Also

IOleWindow, IOleInPlaceUIWindow