xlpclrforms.h contains a class XllPlus::Forms::ExcelForm that connects the .NET Windows Forms library to the Excel application library.
Note that the file is not automatically included in the project when the AppWizard creates an XLL+ project with CLR checked.
Your project must use the CLR build, in order to be able to include this header. See XLL+ Application Wizard - Application Settings for instructions on using CLR builds.
You will also need to add a reference to System.Windows.Forms.dll
to your project in order to use this header file.
The table below lists the classes declared in the header file.
Class | Description |
---|---|
ExcelForm | A wrapper class to allow the Excel window to be used as a parent for .NET Forms. |
WinWrapper | A wrapper class to allow HWND handles to be used as a parent for .NET Forms. |