XLL+ Class Library (7.0)

MfcTutorial Sample

Contains the code for the MFC sample in the User Guide

Remarks

This project demonstrates the use of the Microsoft Foundation Classes in an XLL+ add-in.

Classes and functions used

CExcelWnd | CXllApp::OnXllOpenEx | ::XLL_FIX_STATE | ::XllGetApp | CXlOper::Ret

Sample project

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 MfcTutorial.sln or the project file MfcTutorial.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 MfcTutorial.help.xml and MfcTutorial.chm 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.

See Also

List of Sample Projects