3D PLM Enterprise Architecture

User Interface - Dialogs

CATDlgBarMenu

Makes a menu bar
Quick Reference

CATDialog
  |
  +---CATDlgMenu
        |
        +---CATDlgBarMenu

The Menu Bar
CATDlgBarMenu.jpg (3406 bytes) The menu bar contains objects to create pull-down menus. A menu bar contains instances of the CATDlgSubMenu class. They are generally named Start, File, Edit, View, Help or ?, and so forth.

Use the menu bar to contain and display menus.


Containment Parent
A menu bar parent must be an instance of a class that derives from the classes CATDlgDocument or CATDlgDialog. It can contain only one menu bar instance.

Programmer's Guide

A menu bar can be constructed as follows.

default
_pMenuBar = new CATDlgBarMenu(iParent, iName);

Submenus are placed from left to right in the menu bar, in the order they are instantiated.

[Top]


History

Version: 1 [Jan 2000] Document created
[Top]

Copyright © 2000, Dassault Systèmes. All rights reserved.