Diodia ToolbarCreator 1.4.02

What’s new in version 1.4.02?


1) New built-in commands

The framework offers four new built-in commands: FindNext, FindPrevious, Highlight and Execute.

The FindNext and FindPrevious commands search for a given phrase or term on the current web page.

The Highlight command highlights a given phrase or term on the current web page.

The Execute command makes it possible to launch applications from a toolbar.
 

2) Bitmaps on menu-items

A much asked for feature has finally been implemented: Bitmaps on menu items. Bitmaps are associated with menu-items in the toolbar configuration file, similarly to how bitmaps are associated with toolbar buttons.
 

3) Keyboard events

Keyboard events can now be intercepted by overriding the ToolBandContextC member function KeyboardHook( ). This makes it possible to create a toolbar that supports keyboard shortcuts. 
 

4) New command base class with browser event handling

The new command base class, CommandWithEventsC, makes it easier for commands to intercept browser events. Override the member function Invoke() to be notified when files are downloaded, when a new web page is opened and so on. 
 

5) Navigate can open links in new windows

A target frame can now be specified for the built-in command Navigate.
 

6) Support for elevation on Windows Vista

The framework now has built-in support for Windows Vista elevation. Elevation is usually required if a toolbar needs to access the local file system.
 

7) Scripts can be executed in all frames on a web page

It is now possible to specify that a script must run in all frames on a web page when using the built-in commands JavaScript and VBScript.
 

8) XML configuration file can be accessed from commands

The XML node of the control activating a command can now be accessed from the command. This makes it easier to pass data from the toolbar configuration file to the commands.
 

 

Interfaces

CommandI (changed)

The methods DoExecute( ) and DoApply( ) now take a ControlI * parameter instead of a CString parameter.

The method Execute(CString Param) has been removed from the interface.

CommandContainerI (changed)

The method GetHelperGuid( ) has been added.

ControlI (changed)

The methods SetHotKey( ), SetNode( ) and GetNode( ) have been added.

 

 

Classes

CommandC (changed)

The methods DoExecute( ) and DoApply( ) now take a ControlI * parameter instead of a CString parameter.

The overridables Execute(ControlI *Control) and Apply(CString Text, ControlI *Control) have been added.

CommandWithEventsC (new)

A new command base class, CommandWithEventsC, is now supported by the framework. The class makes it easier to implement commands that handle web browser events.

ToolBandContextC (changed)

The methods DoKeyboardHook( ) and ElevateShellExecute( ) have been added.

The overridable KeyboardHook( ) has been added.

 

Functions

XmlGetNodeAttribute (new)
XmlGetNodeTagName (new)
XmlGetNodeValue (new)

Utility functions for extracting data from the toolbar configuration file.

 

Files

Framework.cpp (renamed from <ToolbarName>.cpp)

Most of the source code relating to framework initialization has been moved to this file.

ContextC.h (changed)

The method GetHelperUid( ) has been added to class ContextC.

The Unicode name of a toolbar is now defined in this file
.

Context.cpp (changed)

Functionality solely related to framework initialization has been moved from this file to Framework.cpp.

 

© 2002-2009 Diodia Software