msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WM_DDE_ADVISE (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINDDE
 
WM_DDE_ADVISE
mp1 = MPFROMHWND(hwnd);    /* sender's window                */
mp2 = MPFROMP(pdde);       /* pointer to DDESTRUCT structure */
 
The WM_DDE_ADVISE message is sent from a client application to a server
application requesting that the server supply an update for a data item
whenever it changes. The server application is expected to reply with a
positive WM_DDE_ACK message if it can provide the requested data, or with a
negative message if it cannot.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hwnd       Low and high word of mp1. Identifies the sender application's
           window.
 
pdde       Low and high word of mp2. Points to a DDESTRUCT structure.
 
See Also
 
WM_DDE_ACK, WM_DDE_UNADVISE, DDESTRUCT, WinDdePostMsg