Diodia ToolbarCreator

What is in the Visual Studio projects:

You don't have to worry about most of the files in the Visual Studio projects. They just have to be there.

The projects contain the following files:

Header files:  
  Commands.h: Class definitions for the toolbar commands.
  ContextC.h: Class definitions for the toolbar context.
  HookC.h: Class definition for the "hook" object exposed to Internet Explorer via COM.
  Resource.h: Resource constants.
  StdAfx.h: Standard includes.
   
Source files:  
  Commands.cpp: Implementation of the toolbar commands.
  Context.cpp: Implementation of the toolbar context object.
  Hook.cpp: Implementation of the hook object.
  <toolbar name>.cpp: Standard COM DLL stuff.
  <toolbar name>.def: Standard library definition file.
  <toolbar name>.idl: COM interface definitions.
  StdAfx.xpp: Makes precompiled headers.
   
Resource files:  
  *.bmp: Bitmaps for the toolbar buttons.
  manifest.xml: Manifest enabling Windows XP visual styles.
  <toolbar name>.rc Resource script with strings, bitmaps, dialogs, etc..
  <toolbar name>.rgs Registry script for self-registration.
  ToolbandLayout.xml Defines the layout of the toolbar.
  hello.js Sample JavaScript activated from the toolbar.

Normally you only modify the following files:

  Commands.h: Implementation of your toolbar commands.
  Commands.cpp: Same as above.
  Context.cpp: The commands you implement are added to the context here.
  ToolbandLayout.xml The commands you implement are placed in the toolbar here.

If you want to handle Internet Explorer events then Hook.cpp has to be modified as well.

 

© 2002-2008 Diodia Software