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>dderequest()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DDERequest()
Request the current value of a DDE data item
------------------------------------------------------------------------------

Syntax
DDERequest( <hWndServer>, <hWndClient>, [ <nFormat> ] , [ <cItem> ] )
             -->   NIL

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.)

Returns
NIL.

Description
This function can be used to request the current value of a
data item from the server specified.  The value is returned
(if at all) in a subsequent message from the server, and may
not be received for some time.

This function is provided in the \clip4win\source\dde.prg file.

Example
DDERequest( hWndServer, hWndClient, CF_TEXT, "Item1" )

A further example is in DDE.PRG in the \clip4win\source directory.


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

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