XLL+ Class Library

Dialogs Sample

Remarks

This project contains a number of dialog classes, descended from CXlDialog, which demonstrate the use of Excel native dialogs.

It also makes use of the CXlMenu class to install a user-defined menu in Excel's main application menu bar.

Functions used

CXlDialog
CXlDialog::EndDialog
CXlDialog::SetFocus
CXlDialog::Show
CXlDialog::Add
CXlControl
CXlControl::SetEnabled
CXlControl::GetValue
CXlControl::SetValue
CXlControl::GetText
CXlControl::SetText
CXlControlGroupBox
CXlControlOptionGroup
CXlControlOption
CXlControlStatic
CXlControlNumberEdit
CXlControlOK
CXlControlCancel
CXlControlTextEdit
CXlControlRefEdit
CXlControlFormulaEdit
CXlMenu
CXllApp::OnXllOpen
CXllApp::OnXllClose

Project files

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

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

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

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

See Also

List of Sample Projects | Samples and Walkthroughs