XLL+ Class Library

Toolbar1 Sample

Remarks

This project demonstrates how to use the CXlToolbar class to add a toolbar to Excel's main window, and how to remove it again. The bitmaps for the toolbar's buttons are held in BMP files at run-time.

Functions used

CXlToolbar
CXlToolbar::AddToolbar
CXlToolbar::ShowToolbar
CXlToolbar::DeleteToolbar
CXlToolbar::AddTool
CXlToolbar::SetToolBitmap
CXllApp::OnXllOpen
CXllApp::OnXllClose

Project files

If you are using MS Developer Studio 6, then you should open the project file Toolbar1.dsp.

If you are using MS Visual Studio .NET 2002, then you should open the solution file Toolbar1.sln or the project file Toolbar1.vcproj.

If you are using MS Visual Studio .NET 2003, then you should open the solution file Toolbar171.sln or the project file Toolbar171.vcproj.

If you are using MS Visual Studio 2005, then you should open the solution file Toolbar18.sln or the project file Toolbar18.vcproj.

See Also

List of Sample Projects | Samples and Walkthroughs | Simple Toolbar using resources | Dynamic Toolbar