Uses the CXlToolbar class to add a toolbar to Excel's application window
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.
As part of the build, each of the bitmap files is copied to the target directory (alongside
Each sample project is located in a sub-directory of the Samples directory of the XLL+ installation. To use the sample project, open the solution file Toolbar1.sln or the project file Toolbar1.vcproj.
You can enable debugging under Excel by using the Setup Debugging command in the XLL+ ToolWindow.
When delivered, the help files are excluded from the build.
You can enable the help build by selecting the files
in the Solution Explorer,
and using the right-click menu to view Properties.
Select the page "Configuration Properties/General" and
set the "Excluded from build" property to "No".
See Generating help
in the User Guide for more information.