Public Member Functions

ExitMAXCallback Class Reference

Search for all occurrences

Detailed Description

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.

See also:
ExitMAXCallback2

#include <maxapi.h>

Inheritance diagram for ExitMAXCallback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual  ~ExitMAXCallback ()
virtual BOOL  Exit (HWND hWnd)=0
  Method called on normal shutdown.

Constructor & Destructor Documentation

virtual ~ExitMAXCallback ( ) [inline, virtual]
Remarks:
Destructor.
{}

Member Function Documentation

virtual BOOL Exit ( HWND  hWnd ) [pure virtual]

Method called on normal shutdown.

Parameters:
[in] hWnd - MAX main window handle is passed in.
Returns:
FALSE to abort the exit, TRUE otherwise.

ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback
ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback ExitMAXCallback