Kofax DOKuStar Validation User Manual

Page 80

Advertising
background image

DOKuStar Validation Programming Manual

Page

76

As you can see, the toolbar is activated in the same way as the user control. The only difference is the type of service
which has to be defined.

There is also a special custom toolbar interface

IUserToolbar

. You must implement all three functions of the

interface, otherwise the toolbar will not work properly. The first one sets the caption of the toolbar. It can be seen
when the toolbar is dragged outside the toolbar area and changes into a window. The other functions allow to specify
the width and the height of the toolbar. If they are not set properly the toolbar will appear without any content.

Therefore type in the following code for the toolbar and again generate

ValiTour.dll

:

If you now start Validation, the new custom toolbar will appear at the right end of the toolbar area and it can be
enabled or disabled using the

View

menu:

Advertising