home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ddesrv.zip
/
IOS2P008.TXT
< prev
Wrap
Text File
|
1994-08-12
|
3KB
|
125 lines
Author: Harald (HaWi) Wilhelm
Am Scheidweg 60
D-50765 Koeln
Germany
CIS: 100031,1250
Description of IOS2P008.EXE
===========================
This application shows a full functioning DDE server example. It uses one DDE
object HWND for each pending connection. In the current demo up to 26
concurrent DDE requests can run in parallel.
Initiate a DDE conversation with:
- INITIATE
Application = ""
Topic = ""
-> DDE Server answers with all available Topics. For every supported topic
a DDE connection is established. It's up to the DDE client to TERMINATE
all unwnated connections.
- INITIATE
Application = IOS2P
Topic = ""
-> DDE Server answers with all available Topics. For every supported topic
a DDE connection is established. It's up to the DDE client to TERMINATE
all unwnated connections.
- INITIATE/REQUEST
Application = IOS2P
Topic = System
-> DDE Server answers with all supported System items below the System
topic.
- INITIATE/REQUEST
Application = IOS2P
Topic = System
Item = Formats
-> DDE Server answers with #1. It's the only supported format (CF_TEXT).
- INITIATE/REQUEST
Application = IOS2P
Topic = System
Item = Help
-> DDE Server answers with a simple help text.
- INITIATE/REQUEST
Application = IOS2P
Topic = System
Item = Restart
-> DDE Server answers with the name of the DDE server EXE.
- INITIATE/REQUEST
Application = IOS2P
Topic = System
Item = Status
-> DDE Server answers with the count of active connections.
- INITIATE/REQUEST
Application = IOS2P
Topic = System
Item = SysItems
-> DDE Server answers with all System items supported below the System
topic. All items are seperated with TABs.
- INITIATE/REQUEST
Application = IOS2P
Topic = System
Item = Topics
-> DDE Server answers with all currently supported topics.
- INITIATE/REQUEST
Application = IOS2P
Topic = QueryListbox1Item
-> DDE Server answers with the text that belongs to the currently selected
item in the left listbox.
- INITIATE/REQUEST
Application = IOS2P
Topic = QueryListbox2Item
-> DDE Server answers with the text that belongs to the currently selected
item in the right listbox.
- INITIATE/POKE
Application = IOS2P
Topic = InsertListbox1Item
Data = Textvalue
-> DDE Server inserts the text at the end of the left listbox.
- INITIATE/POKE
Application = IOS2P
Topic = InsertListbox2Item
Data = Textvalue
-> DDE Server inserts the text at the end of the right listbox.
- INITIATE/POKE
Application = IOS2P
Topic = DeleteListbox1Item
Data = Index (starting from 0)
-> DDE Server deletes the item at index from the left listbox.
- INITIATE/POKE
Application = IOS2P
Topic = DeleteListbox2Item
Data = Index (starting from 0)
-> DDE Server deletes the item at index from the right listbox.
ADVISE connections are only allowed for QueryListbox1Item.