CommandFactory

Used to manage commands in GroupWise. A command occurs in multiple locations, including the menu and toolbar. This object has no properties.

Properties

None.

Methods

BuildCommand( Context: string; 
PersistentID: string;  
BaseCommand: variant; 
parms: variant): variant;
CustomizeContextMenu( Context: String; 
GWMenu: Variant );
CustomizeMenu( Context: string; 
GWMenu: variant ): TOleBool;
CustomizeToolBar( Context: string; 
GWToolbar: variant ): TOleBool;
Init( lcid: longint ): longint;

eGW_CMDINIT_MENUS

The C3PO intends to modify the menus (CustomizeMenu Interface).

eGW_CMDINIT_TOOLBARS

The C3PO intends to modify the toolbar (CustomizeMenu Interface).

eGW_CMDINIT_CONTEXT_MENUS

The C3PO intends to modify the context menus (CustomizeMenu Interface)

eGW_CMDINIT_NO_PREDEFINED

Optimization flag that indicates the C3PO will never respond to predefined commands. Returning this flag will suppress calls to the WantCommand method for predefined commands.

WantCommand( Context: string; PersistentID: string ): TOleBool;

Remarks

None.