Skip to content

CreateComInstance - cCJDesignerMenu

Called as part of the COM object creation process. Creates all child cCJMenutItem COM objects and adds them to the designer menu

Type: Procedure

Syntax

Procedure CreateComInstance

Call Example

Send CreateComInstance

Description

This message is sent as part of the commandbar system activation sequence. The cCJCommandbarSystem object creates all child COM objects when it is activated. See CreateCommandBars for a description of this process. The cCJCommandbarSystem sends the message CreateComInstance to all child objects (menubars, toolbars, statusbars). These objects send the same message, CreateComInstance, to all of their child objects (menu items).

When this message is received, it sends CreateComInstance to all child objects. This recursively adds all menus and menu items to the designer menu.

You will rarely augment or send this message.