Please enable JavaScript to view this site.

ESL Documentation

Function

Get conversation ID of each active conversation.

 

DDEEnumerateConversations ( ConvID_IV )

 

ConvID_IV is an integer value representing the conversation ID. ConvID_IV should be 0 to begin the enumeration.  Each subsequent call should pass the conversation ID obtained from the return value of the previous call.  When all active conversations have been enumerated, the function returns a conversation ID of 0.

Description

Called by client or server.  You can call this function repeatedly to get the conversation ID of each active conversation.

Example

response to Enumerate 

copy 0 to Conv_IV

copy DDEEnumerateConversations (Conv_IV) to Conv_IV

while (Conv_IV > 0) loop

      add to ConvWindow insert at cursor

         DDEGetAppName (Conv_IV) " "

              DDEGetTopic (Conv_IV) " "

              Conv_IV "\n"

      copy DDEEnumerateConversations (Conv_IV) to Conv_IV

end loop