Customizing toolbar buttons

You can control the position and placing of each toolbar using Tools image\tools.gif

The appearance and function of the buttons and menus for CC3 are defined in the file named fcw32.mnu. It is a regular text file that can be opened and modified with any text editor. If you use a word processing program to edit the file, be sure to save it as a regular text file.

Add-ons

Each add-on, if installed, has its own menu file which is loaded when you click any of the add-on buttons. If you want changes to be included in every menu, you’ll need to edit all the files.

Product

Menu file name

Character Artist

ca.mnu

CC3

fcw32.mnu

Dungeon Designer

Dungeon.mnu

City Designer

city.mnu

CC3 Dioramas

dioramas.mnu

Cosmographer

Cosmo.mnu

Toolbar buttons

You can create your own buttons and add them to any of the eight toolbars. You are allowed to place up to 48 buttons on each bar—if they don't fit in the window, they won't show, but no harm will be done. The definitions for the tool bar buttons are included at the beginning of the current menu file.

To define a toolbar button, use the following format: 

#n,filename.bmp:[tool tip text]{right click command}left click command;

where n is the button position, filename.bmp is a 16x16 .BMP or .DIB bitmap file. Place the .bmp file in your CC3 working directory. Be sure to end each line with a semicolon. If you want a large version, include a 24 by 24 version with the same name with 24 added at the end eg filename24.bmp. CC3 has built in icons for the buttons – for example CC3TRIM is used for the TRIM button. You can use these icons for your own buttons.

Tool tip text is the text you want to appear in the little yellow box when you move your mouse across the button.

The left click command is the text-equivalent of any CC3 command, listed at the end of the help file entry for that command. It is preceded by a |character to cancel the previous command, by a ~ if it is a transparent command (zooms, etc)

The curly brackets {} and their contents are optional, they control what happens when you right click on the button You can make a menu to pop up on a right mouse click.

For example: 

#321,mybitmap.bmp:[Offset Chain]{|OFFSET1;}|OFFSET;

This adds an button to the end of the left toolbar1. Because this example skips position #320, and there are 20 buttons (occupying positions #300-19), the new button is separated by a gap from the other buttons. The bitmap file mybitmap.bmp, located in the working CC3 directory, is displayed. Moving the mouse over the button displays the tool tip "Offset Chain". Clicking the button invokes the OFFSET CHAIN command.

The following position ranges are assigned to each different toolbar:

Starting from:

Ending at:

Toolbar

0

47

Right Toolbar 2

100

147

Right Toolbar 1

200

247

Left Toolbar2

300

347

Left Toolbar 1

400

447

File Toolbar

500

547

Custom 2 Left

600

647

Custom 3 Right

700

747

Custom 4 Right

Transparent Buttons

A "transparent" command can be used in the middle of another command. A transparent command does not cancel the current command, nor does it auto-repeat. Zooms, modifiers and property selection are commands which will allow you to do this

To make a button command transparent, use a "~" (tilde) as the first character of the command’s button script text. This same procedure can also be applied to custom menu commands.

Related Topics