Please enable JavaScript to view this site.

ESL Documentation

Invoked in:

Client or Server

Message from Partner:

WM_DDE_TERMINATE

Remarks:        

This event is invoked in a client or a server when a WM_DDE_TERMINATE is received.  An application should not respond to any other DDE events for this conversation once this event has been invoked.  If this event is a response to a previous call to DDETerminate, which the application must determine by consulting a variable that it sets when calling DDETerminate, then the application should do nothing.  Otherwise it should respond with a call to DDETerminate.

Default Processing:

The DDE DLL default processing is to send the responding WM_DDE_TERMINATE message if the ESL program does not.

Available Queries:

DDEGetAppName

DDEGetTopic

DDEGetErrorID

Example:

 response to stimulus DDE DDE_TERMINATE

   if (LocalTermination_BV = true) # Partner is responding to

      copy 0 to ConvID_IV          # OUR term.

   else                             

      copy 0 to ConvID_IV          # Partner wants to terminate,

   end if                          # take note and let the DDE DLL

                                           # acknowledge it.