Toolbar Items

From CometWiki

Jump to: navigation, search

Choose the "T" option in CTMAINT to create or maintain a toolbar. The following prompt is displayed:

  Enter Line#,(A)dd,(D)elete,(I)nsert,(S)eperator,(E)nd
  • To edit an existing tool, type its line number and press Enter.
  • To add an item to the toolbar, choose the A option.
  • To delete an existing item from the toolbar, choose the D option.
  • To insert an item on the toolbar (between two existing items), choose the I option.
  • To add a seperator space to the toolbar, choose the S option.
  • To return to the CTMAINT main menu, choose the E option.

The Toolbar Maintenance Screen

The toolbar maintenance screen is divided into two sections: Nova settings and Windows settings.

  • The Nova settings specify the action that will be taken when the mouse is clicked on a given icon.
  • The Windows settings specify what information is displayed on the screen, and (optionally) information for Windows-enabled MTB programs.

Nova settings

The following information is organized by the type of action for each tool:


To define a tool that will launch the Comet Help System, provide the following information:


Prompt Response
Action: H

To define a tool that will ENTER a Comet subprogram, provide the following information:

Prompt Response
Action: E
Program to run: The name of the Comet subprogram.
Text or Message: A text message to be passed to the subprogram.
Force Transmit? Type Y to add a transmit to the end of any data stream sent back by the Comet subprogram. Otherwise, type N.
Save Screen? Type Y if you want Comet to save the screen before entering the subprogram, and to restore the screen upon exiting from the subprogram. Otherwise, type N.

Pass Msg in COMMON? Type Y if you want to pass the message in COMMON to the subprogram. Type N if you want to pass the message using the system buffer (#), or if there is no message to pass.


To define a tool that will replay a text string, provide the following information:

Prompt Response
Action: T
Text or Message: The text to be replayed.
Force Transmit? You can specify whether or not the replayed text will be followed by a forced transmit. Type Y for a forced transmit, or type N to replay the text string without appending a forced transmit.

To define a tool that will launch a Windows document/application, provide the following information:

Prompt Response
Action: L
Program to run: The name of the Windows application or document to be launched.
Text or Message: Characters to be appended to the application or document name (optional).

To define a tool that will invoke a system tool, provide the following information:

Prompt Response
Action: Y
Enter Selection (1-14): The number associated with the system tool. 1 New session

2 Print session 3 Print setup 4 Change font 5 Change color 6 About 7 Exit 8 Toolbar 9 Status bar 10 Copy clipboard 11 Paste clipboard 12 Cut clipboard 13 Display Comet release notes (RELNOTES.TXT text file) 14 Tool button size -- toggle between small/large icons


To define a tool that will be intercepted by the MTB program (not the NOVA program), provide the following information:

Prompt Response
Action: N

The "no action" code represents an event that your Windows-enabled MTB program will intercept directly. Such an event will not be processed by the Nova system.

Windows Settings

Prompt Response
Bubble text: Type the text that will appear next to the icon when the mouse cursor is placed on top of the icon. The bubble text is displayed for approximately 5 seconds.
Hint: Type the text that will appear on the status line when the mouse cursor is placed on top of the icon.
Bitmap file: Type the full path name for the icon file. Note: Small icons are BMP files 15 pixels wide by 16 pixels high. Large icons are BMP files 32 pixels wide by 32 pixels high.

Note: The CTMAINT program reads the BMP file and stores the bitmap data in a Comet data file. Therefore, to distribute a toolbar to another Comet system, you do not need to distribute the original BMP file(s).

However, to maintain the toolbar, you do need the BMP file(s). For this reason, th CTMAINT program includes an Export Bitmaps option.

Tool Variable: Optional. This field is for Windows-enabled MTB programs only, and contains the name of the variable to be associated with the tool.
Tool I.D. Display only. Contains the Windows identification number of the tool.

The following prompt is displayed:

  Correct? (Yes/No)

If the Nova and Windows entries are corrent, type Y or press Enter. Otherwise, type N and enter the correct values.

Personal tools