Unicode toolbars with Diodia ToolbarCreator

The Visual Studio 2005 implementation of the programming framework has been updated to support Unicode in version 1.2.09 of ToolbarCreator.

Unicode can be used in caption and tooltip attributes in the configuration file ToolBandLayout.xml, and all the framework API functions dealing with GUI strings now have CString arguments.

The name of a toolbar, as it is displayed in the Internet Explorer's toolbar menu, is not Unicode by default, but it can be changed to Unicode by following the procedure below:


How to change the toolbar name to Unicode:

1) Run ToolbarCreator

Important: The name of the toolbar entered in ToolbarCreator can NOT be Unicode, but must be changed later in Visual Studio. See below.

2) Change the build configuration

In Visual Studio, enable one of the two Unicode build configurations: Unicode Debug or Unicode Release.

3) Update ToolbandLayout.xml

Change the name of the toolbar to its Unicode name in the line:

   <
toolband xmlns="http://www.diodia.com/toolband" name="ENTER UNICODE NAME HERE">

4) Update ContextC.h

Change the name of the toolbar to its Unicode name in the line:

   #define UNICODE_TOOLBAR_NAME "ENTER UNICODE NAME HERE"

5) Update <ToolbarName>.rgs

Make the registration script use the Unicode name by changing all occurrences of '<ToolbarName>' to '%TOOLBAR_NAME%'.

Important:
Do NOT enter the Unicode name in the .rgs file. %TOOLBAR_NAME% will be replaced with the actual name during registration due to 4).
 

6) Build the toolbar

Build the Visual Studio project and verify that the name displayed in IE is the Unicode name.

© 2002-2008 Diodia Software