Please enable JavaScript to view this site.

ESL Documentation

Function

Determine the topic name that resulted from a poll.

 

DDEGetPollTopic ( LastTopic_IV )

 

LastTopic_IV is an integer value returned from a call to DDEEnumeratePollTopics within the current response.

Description

Called by the client.  This function determines the topic name that resulted from a poll; use this function while looping through the poll list created by DDEPollTopics.

Example

# Display the topic names of all servers with

# application "Easel"

 

copy 0 to LastTopic_IV

copy DDEPollTopics ("Easel", "") to NumConvs_IV

while (NumConvs_IV > 0) loop

   copy DDEEnumeratePollTopics (LastTopic_IV) to LastTopic_IV

   add to TopicWindow insert at cursor

 DDEGetPollTopic (LastTopic_IV) "\n"

   copy (NumConvs_IV - 1) to NumConvs_IV

end loop