Class: cCJAutoArrangeIconsMenuItem
Properties | Events | Methods | Index of Classes
A menu item which is used to toggle the auto-arrange icon state of the MDI Client
Hierarchy
cObject > DfComAutomationObject > cComAutomationObject > cCJCommandBarAction > cCJAction > cCJMenuItem > cCJAutoArrangeIconsMenuItem
Show full hierarchy and direct subclasses
- cObject
- DfComAutomationObject
- cComAutomationObject
- cCJCommandBarAction
- cCJAction
- cCJMenuItem
- cCJAutoArrangeIconsMenuItem
Library: Windows Application Class Library
Package: cCJStandardMenuItemClasses.pkg
Description
cCJAutoArrangeIconsMenuItem is a menu item class, which is used to toggle the auto-arrange icon state of the MDI Client. When executed, OnExecute sends the Toggle_Auto_Arrange_Icons message to the AppPanel object. This toggles whether icons should be auto-arranged by setting the Auto_Arrange_Icons_State property.
This is a checkbox menu-item. If auto-arrange icons is enabled the item will be checked.
The AppPanel object 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."
// These are the static windows items. More will be created in onInitPopup
Object oDisplayOptionsMenu is a cCJMenuItem
Set peControlType to xtpControlPopup
Set psCaption to "&Display Options"
Set psToolTip to "Display Options"
Set psDescription to "Set display options"
Object oStatusbarMenu is a cCJStatusbarMenuItem
End_Object
Object oAutoArrangeIconsMenu is a cCJAutoArrangeIconsMenuItem
End_Object
Object oRestoreMenusMenu is a cCJRestoreMenusMenuItem
Set pbControlBeginGroup to True
End_Object
End_Object
:
End_Object
See Also