OleFrame.setContainerMenus

Specify the menu items that should appear in the Container location when an OLE Document is in-place activated.

<p>When an OLE Document is in-place active, the Document provides its own menus but the application is given the opportunity to merge some of its menus into the menubar. The application is allowed to insert its menus in three locations: File (far left), Container(middle) and Window (far right just before Help). The OLE Document retains control of the Edit, Object and Help menu locations. Note that an application can insert more than one menu into a single location.

<p>This method must be called before in place activation of the OLE Document. After the Document is activated, the menu bar will not be modified until a subsequent activation.

@param containerMenus an array of top level MenuItems to be inserted into the Container location of the menubar

class OleFrame
void
setContainerMenus

Meta