Skip to content

Class: cCJRestoreWindowsMenuItem

Properties | Events | Methods | Index of Classes

A menu item which is used to restore all minimized views in an MDI application

Hierarchy

cObject > DfComAutomationObject > cComAutomationObject > cCJCommandBarAction > cCJAction > cCJMenuItem > cCJRestoreWindowsMenuItem

Show full hierarchy and direct subclasses

Library: Windows Application Class Library

Package: cCJStandardMenuItemClasses.pkg

Description

cCJRestoreWindowsMenuItem is menu item class, which is used to restore all minimized views in an MDI application. When executed OnExecute sends the Minimize_all_Windows message to the AppPanel object.

The AppPanel is identified by sending this message to the parent of the ClientArea object. If the ClientArea object is not defined, no message is sent. This class should only be used with cCJCommandBarSystem objects that are used as the main MDI commandbar system.

An object based on this class can be added to any popup menu, toolbar or context menu.

Object oWindowMenu is a cCJMDIWindowsMenuItem

    Set peControlType to xtpControlPopup      
    Set psCaption to "&Window"
    Set psToolTip to "Window"
    Set psDescription to "Display Current Views and set other display options."    

    :

    Object oCascadeMenu is a cCJCascadeMenuItem
        Set pbControlBeginGroup to True
    End_Object

    Object oHorizTile is a cCJTileHorizontally
    End_Object

    Object oVertTile is a cCJTileVertically
    End_Object

    Object oMinimizeMenuItem is a cCJMinimizeWindowsMenuItem
        Set pbControlBeginGroup to True
    End_Object

    Object oRestoreMenuItem is a cCJRestoreWindowsMenuItem
    End_Object

    Object oArrangeIconsMenuItem is a cCJAutoArrangeIconsMenuItem
        Set pbControlBeginGroup to True
    End_Object

End_Object

See Also

cCJMenuItem | cCJCascadeMenuItem | cCJTileHorizontally | cCJMinimizeWindowsMenuItem | cCJMinimizeWindowsMenuItem | cCJArrangeIconsMenuItem