A callback object that will get called before the program exits.
Register an instance of this class with Interface::RegisterExitMAXCallback. During normal shutdowns, the Exit method will be called. The Exit method is not called during shutdown after crash recovery.
#include <maxapi.h>

Public Member Functions |
|
| virtual | ~ExitMAXCallback () |
| virtual BOOL | Exit (HWND hWnd)=0 |
| Method called on normal shutdown. |
|
| virtual ~ExitMAXCallback | ( | ) | [inline, virtual] |
{}
| virtual BOOL Exit | ( | HWND | hWnd | ) | [pure virtual] |
Method called on normal shutdown.
| [in] | hWnd | - MAX main window handle is passed in. |