Decorates a WPF Window object with 3ds Max-specific functionality.
For internal use only.
Usage: Instantiate this class and pass in the Window and an optional instance of an Icon to use as the Window Icon.
Public Member Functions |
|
WindowDecorator (System::Windows::Window^aWindow) | |
Instantiate this class with a window. There
is no need to root this object, as it will add itself to the Window
as an event observer, therefore guaranteeing its availability as
long as the Window is live. |
|
WindowDecorator (System::Windows::Window^aWindow, System::Drawing::Icon^aIcon) | |
Instantiate this class with a window and an
optional icon object. There is no need to root this class, as it
will add itself to the Window as an event observer, therefore
guaranteeing its available as long as the Window is live. |
ManagedServices::Internal::WindowDecorator::WindowDecorator | ( | System::Windows::Window^ | aWindow | ) |
Instantiate this class with a window. There is no need to root this object, as it will add itself to the Window as an event observer, therefore guaranteeing its availability as long as the Window is live.
For internal use only.
This decorator will add Activated and Deactivated handlers to the window to enable/disable keyboard accelerators when the dialog in question becomes active.
aWindow | A window to decorate. |
ManagedServices::Internal::WindowDecorator::WindowDecorator | ( | System::Windows::Window^ | aWindow, |
System::Drawing::Icon^ | aIcon | ||
) |
Instantiate this class with a window and an optional icon object. There is no need to root this class, as it will add itself to the Window as an event observer, therefore guaranteeing its available as long as the Window is live.
For internal use only.
This decorator will add Activated and Deactivated handlers to the window to enable/disable keyboard accelerators when the dialog in question becomes active.
aWindow | A window to decorate. |
aIcon | An icon to set as as the Window image. |