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 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

WDDEClient:Advise() Method
Ask to be informed whenever a specified data item changes
------------------------------------------------------------------------------

Syntax
<oDDE>:Advise( [ <cItem> ] , [ <nFormat> ] , [ <lDeferUpd> ] ,
               [ <lAckReq> ] )   -->   x

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

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

<lDeferUpd> is an optional logical specifying whether changed
data values are sent immediately they occur.  Use FALSE (.F.)
or NIL to make the server send the changed data with the
notification message.  Use TRUE (.T.) to make the server send
the notification message without the data (which must then be
requested when needed).

<lAckReq> is an optional logical specifying whether the server
should demand an acknowledgement of each notification message
it sends.  Use TRUE (.T.) if you want this for some reason.

Returns
The return value is not used.

Description
This method can be used to be kept informed of changes to a
data item.  The changed value is returned (if at all) in
subsequent messages from the server, and may not be received
for some time.

Example


See Also: WDDEClient:OnData() WDDEClient:Request() WDDEClient:UnAdvise()

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