Applies to
Edit box, edit line.
Description
Part two of the DDE three-level hierarchy. A string that identifies a logical data context. Typically, this is a file name to be run by the service application, but refer to your service application documentation for details on what it expects for its DDE server function.
Usage
Set a server name as the DDE conversation application:
existingprop = Set_Property (objectname, "DDETOPIC", topic)
Return the currently specified topic (usually, the file name at the server):
servicetopic = Get_Property (objectname, "DDETOPIC")
Remarks
Values passed in Set_Property:
Value | Description |
---|---|
Topic | Name of the topic to be initiated by the server. Typically, this is a file name. |
Returns
Values returned by both Get_Property and Set_Property:
Value | Description |
---|---|
Servicetopic | Current service topic, if any. |
existingprop | Name of current topic when Set_Property was called. |
Each DDE server-capable application has an interpretation for the topic value. Typically, this is a file name, but check with the server application, for more details.
When DDETOPIC is set, the system will check to see whether DDESERVICE is also set (non-null value). If so, the system will terminate any existing connection, and will attempt to establish a DDE conversation for the specified Service/Topic pair. If DDESERVICE is not set, then setting DDETOPIC will terminate any existing connection, and store the topic name, without attempting to establish a connection.
DDESERVICE (application) | Topic | Item |
---|---|---|
Excel | *.XLS, *.XLC | Range of cells. |
Word for Windows | *.DOC, *.DOT | Bookmark. |