XLL+ Class Library (6.3)

WinWrapper::XllPlus::Forms::WinWrapper

Constructs a WinWrapper object and attaches it to the specified window handle

XllPlus::Forms::WinWrapper(
   HWND hwnd
);

Parameters

hwnd

A valid window handle.

Remarks

This constructor is all that is required to initialise the object.

Because WinWrapper is a managed class, you should use gcnew to construct it, rather than new, as shown below.

System::Windows::Forms::MessageBox::Show(
    gcnew XllPlus::Forms::WinWrapper(hwnd), 
    "Hello from .NET");

Requirements

Header: xlpclrforms.h

See Also

WinWrapper Class | WinWrapper Methods