SAM_DDE_ClientExecute is sent to all objects in a server application. The event that causes it is a DDE client sent a command string. A server listens for command requests from clients by processing SAM_DDE_ClientExecute. The server gets the command string that the client sent by calling SalDDEGetExecuteString. The parameter for SalDDEGetExecuteString is the lParam of the SAM_DDE_ClientExecute message, which points to the command string. After calling SalDDEGetExecuteString, the server can parse the command string to determine the action to perform. The server can send data or some other response to the client by calling SalDDESendToClient. The wParam for the SAM_DDE_ClientExecute message contains the window handle of the client. The server uses wParam in the third parameter of SalDDESendToClient to send the data or response back to the same client. Message Variables hWndForm Handle of a top-level window. hWndItem Object handle. wParam Window handle of sende

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public const int SAM_DDE_ClientExecute

See Also