Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>ddepoke()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DDEPoke()
Send a DDE data item to a DDE server
------------------------------------------------------------------------------

Syntax
DDEPoke( <hWndServer>, <hWndClient>, [ <nFormat> ] , [ <cItem> ] ,
         <cData>, [ <lRelease> ] , [ <lWait> ] )   -->   xResult

Arguments
<hWndServer> is the handle of the server window.

<hWndClient> is the handle of the window stopping the
conversation.

<nFormat> is an optional integer specifying the format of data
wanted.  Use one of the CF_* values defined in WINDOWS.CH,
which are explained in the GetClipbData() function.
(Default: CF_TEXT.)

<cItem> is an optional string specifying the name of the item.
(Default: all or default, depending on the server.)

<cData> is the data to send.

<lRelease> is .T. (the default) if the server is to release
the data.

<lWait> is .T. (the default) to wait for the server to
accept/reject the data.

Returns
If <lWait> was .T., this function returns a logical indicating
whether the server accepted the data item.  If <lWait> was
.F., the handle of the memory containing the <cData> is
returned.

Description
This function can be used to send data to a DDE server.
The source is in the \clip4win\source\dde.prg file.

Example
DDEPoke( hWndServer, hWndClient, CF_TEXT, "Item1", "MyData" )

See Also: DDEAdvise() DDEGetData() DDEStart()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson