Next Previous Up Top Contents Index

3.6 The DUIM-OLE-SERVER module

frame-container-menus

Open generic function

Summary

Specifies menus that should be included in the container application's menu bar if this server application is activated in place.

Signature

frame-container-menus frame => edit-menus object-menus 
                              help-menus 

Arguments

frame
An instance of <embeddable-frame>.

Values

edit-menus
See Description.

object-menus
See Description.

help-menus
See Description.

Library

duim-ole-server

Module

duim-ole-server

Description

Specifies menus to be included in the container's menu bar if the server application is activated in place.

Applications can optionally define a method on this function, specialized on the application's subclass of <embeddable-frame>. The method should return three values, corresponding to three positions in the menu bar that are designated for edit menus, object menus, and help menus respectively. Each of the three values can be any of the following:

#f, indicating that there are no menus in this group.

A menu object (an instance of <menu>).

A <sequence> of <menu> objects, possibly empty.

A menu bar object (an instance of <sheet>).

The default method returns:

    values(frame-menu-bar(frame), #f, #f)

OLE, COM, ActiveX and DBMS Reference - 31 MAR 2000

Next Previous Up Top Contents Index