Notify

Syntax

Document_Notify( EventCode As Integer )

Parameters

Integer EventCode - Code indicating which event occurred. See table below.

Remarks

When certain events occur (for instance, the beginning of a command sequence) MaxIm DL will report the event to the currently running client code, using the Notify event. A client must set the EventMask property of the Document object to indicate that it wishes to be notified of a particular event.

When the notify event is called, it is important to return control to MaxIm DL as quickly as possible. MaxIm DL is unable to continue execution until the Notify event has completed.

Notifications can be used to monitor the status of MaxIm DL, for instance, to determine whether or not an exposure has been completed. Since the Notify method avoids the need to poll MaxIm DL, they can allow your program to execute more efficiently.

 

Event Code Name

Event Code

Mask Bit Value

deNew

64

1

deOpen

65

2

deClose

66

4

deSave

67

8