DDEML advise loop

The client application might create a DDEML Advise Loop in order to be informed when various events occur.

The DDEMLDdeClientTransaction function is used, with ADV_START and ADV_STOP transactions, to start and stop an Advise Loop. The DDEML item name string must contain 1. The client application might initiate an Advise Loop after establishing connection to Content Manager OnDemand and maintain it for the duration of the conversation or start and stop the loop at its discretion. Notification of events takes place only when a loop is active.

The client application receives notification of an event through an XTYP_ADVDATA transaction at its DDEML callback function.

The data returned is a null-terminated character string containing the Code for the Event and can occur due to the following actions:
S
User switched focus to the client application using the first menu item/toolbar button.
S2
User switched focus to the client application using the second menu item/toolbar button.
S3
User switched focus to the client application using the third menu item/toolbar button.
S4
User switched focus to the client application using the fourth menu item/toolbar button.
S5
User switched focus to the client application using the fifth menu item/toolbar button.
0
User clicked Search Criteria button 1 on the Search Criteria and Document List dialog box.
1
User clicked Search Criteria button 2 on the Search Criteria and Document List dialog box.
2
User clicked Search Criteria button 3 on the Search Criteria and Document List dialog box.
3
User clicked Search Criteria button 4 on the Search Criteria and Document List dialog box.
4
User clicked Search Criteria button 5 on the Search Criteria and Document List dialog box.
5
User clicked Document List button 5 on the Search Criteria and Document List dialog box.
6
User clicked Document List button 1 on the Search Criteria and Document List dialog box.
7
User clicked Document List button 2 on the Search Criteria and Document List dialog box.
8
User clicked Document List button 3 on the Search Criteria and Document List dialog box.
9
User clicked Document List button 4 on the Search Criteria and Document List dialog box.