WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Winbatch Studio
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Add Separator to the WinBatch Studio Toolbar


Question:

Anyone know how to add a separator to the Studio toolbar? It's gotta be something simple but I'm just too dense.

Answer:

This information is outdated for current versions of WinBatch Studio.

Simple? hmmm... There may be a simple way, but the only way I've found so far is to directly edit the toolbar in the registry. No guts - no glory, right? If you want to give it a try...

Edit the registry and navigate to: HKEY_CURRENT_USER\Software\Wilson WindowWare\WinBatch Studio\Toolbars

The Keys listed under 'Toolbars' basically define the Studio environment. Now, I would assume that Info-Bar0 - Info-Bar8 are defined the same on all installations since they are the default ones. These are what to focus on. Here's a quick run-down...

~ Info-Bar0 = Status Bar
~ Info-Bar1 = Top Screen Toolbar Area
~ Info-Bar2 = Botton Screen Toolbar Area
~ Info-Bar3 = Output Window
~ Info-Bar4 = Watch Window
~ Info-Bar5 = File Toolbar
~ Info-Bar6 = Window Toolbar
~ Info-Bar7 = Debug Toolbar
~ Info-Bar8 = Tools Toolbar

Look are Info-Bar6 (it's the shortest for example). The Buttons value defines what buttons are shown on the specific bar. The numbers are defined in groups of 5, each group defining a button. In this example they are:

~ 30 E1 00 00 00 = New Window
~ 35 E1 00 00 00 = Split
~ 32 E1 00 00 00 = Cascade
~ 33 E1 00 00 00 = Tile Horizontally
~ 34 E1 00 00 00 = Tile Vertically

And here, finally, is your answer... To add a break in a tool bar, add a group of all 0's in between the desired buttons... ~ 00 00 00 00 00 = Break between buttons.

Keep in mind that you're messing with the registry. Be very careful and export a backup copy before making any changes.

One last point - Don't make any changes while Studio is open. Studio holds the settings in memory, then writes the changes when it's shutdown.


Article ID:   W17303
File Created: 2013:05:23:09:59:42
Last Updated: 2013:05:23:09:59:42