home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddesrv.zip / IOS2P008.TXT < prev   
Text File  |  1994-08-12  |  3KB  |  125 lines

  1. Author: Harald (HaWi) Wilhelm
  2.         Am Scheidweg 60
  3.         D-50765 Koeln
  4.         Germany
  5.         CIS: 100031,1250
  6.  
  7. Description of IOS2P008.EXE
  8. ===========================
  9.  
  10. This application shows a full functioning DDE server example. It uses one DDE
  11. object HWND for each pending connection. In the current demo up to 26
  12. concurrent DDE requests can run in parallel.
  13.  
  14. Initiate a DDE conversation with:
  15.  
  16.  - INITIATE
  17.    Application = ""
  18.    Topic       = ""
  19.  
  20.    -> DDE Server answers with all available Topics. For every supported topic
  21.       a DDE connection is established. It's up to the DDE client to TERMINATE
  22.       all unwnated connections.
  23.  
  24.  - INITIATE
  25.    Application = IOS2P
  26.    Topic       = ""
  27.  
  28.    -> DDE Server answers with all available Topics. For every supported topic
  29.       a DDE connection is established. It's up to the DDE client to TERMINATE
  30.       all unwnated connections.
  31.  
  32.  - INITIATE/REQUEST
  33.    Application = IOS2P
  34.    Topic       = System
  35.  
  36.    -> DDE Server answers with all supported System items below the System
  37.       topic.
  38.  
  39.  - INITIATE/REQUEST
  40.    Application = IOS2P
  41.    Topic       = System
  42.    Item        = Formats
  43.  
  44.    -> DDE Server answers with #1. It's the only supported format (CF_TEXT).
  45.  
  46.  - INITIATE/REQUEST
  47.    Application = IOS2P
  48.    Topic       = System
  49.    Item        = Help
  50.  
  51.    -> DDE Server answers with a simple help text.
  52.  
  53.  - INITIATE/REQUEST
  54.    Application = IOS2P
  55.    Topic       = System
  56.    Item        = Restart
  57.  
  58.    -> DDE Server answers with the name of the DDE server EXE.
  59.  
  60.  - INITIATE/REQUEST
  61.    Application = IOS2P
  62.    Topic       = System
  63.    Item        = Status
  64.  
  65.    -> DDE Server answers with the count of active connections.
  66.  
  67.  - INITIATE/REQUEST
  68.    Application = IOS2P
  69.    Topic       = System
  70.    Item        = SysItems
  71.  
  72.    -> DDE Server answers with all System items supported below the System
  73.       topic. All items are seperated with TABs.
  74.  
  75.  - INITIATE/REQUEST
  76.    Application = IOS2P
  77.    Topic       = System
  78.    Item        = Topics
  79.  
  80.    -> DDE Server answers with all currently supported topics.
  81.  
  82.  - INITIATE/REQUEST
  83.    Application = IOS2P
  84.    Topic       = QueryListbox1Item
  85.  
  86.    -> DDE Server answers with the text that belongs to the currently selected
  87.       item in the left listbox.
  88.  
  89.  - INITIATE/REQUEST
  90.    Application = IOS2P
  91.    Topic       = QueryListbox2Item
  92.  
  93.    -> DDE Server answers with the text that belongs to the currently selected
  94.       item in the right listbox.
  95.  
  96.  - INITIATE/POKE
  97.    Application = IOS2P
  98.    Topic       = InsertListbox1Item
  99.    Data        = Textvalue
  100.  
  101.    -> DDE Server inserts the text at the end of the left listbox.
  102.  
  103.  - INITIATE/POKE
  104.    Application = IOS2P
  105.    Topic       = InsertListbox2Item
  106.    Data        = Textvalue
  107.  
  108.    -> DDE Server inserts the text at the end of the right listbox.
  109.  
  110.  - INITIATE/POKE
  111.    Application = IOS2P
  112.    Topic       = DeleteListbox1Item
  113.    Data        = Index (starting from 0)
  114.  
  115.    -> DDE Server deletes the item at index from the left listbox.
  116.  
  117.  - INITIATE/POKE
  118.    Application = IOS2P
  119.    Topic       = DeleteListbox2Item
  120.    Data        = Index (starting from 0)
  121.  
  122.    -> DDE Server deletes the item at index from the right listbox.
  123.  
  124. ADVISE connections are only allowed for QueryListbox1Item.
  125.