CreateComInstance - cCJTabToolBar
Called as part of the COM object creation process. Creates the COM tab-toolbar control for this object and all child tab-item COM objects
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) including cCJTabToolbar objects.
When this message is received, it does the following:
-
It creates the COM tab-toolbar control and binds it to this object. It remains statically bound to this object.
-
It calls the event OnCreate.
-
It sends CreateComInstance to all child tab-item objects. This recursively builds the tab-item (cCJTabControlItem) COM objects and all of their child menu-item (cCJMenuItem) COM objects.
You will rarely augment or send this message.