windows_programming_notes.nbk: Home | Index | Next Page: WM_DEADCHAR | Previous Page: WM_DDE_TERMINATE


 WM_DDE_UNADVISE

A DDE client application posts a WM_DDE_UNADVISE message to inform a DDE server application that the specified item or a particular clipboard format for the item should no longer be updated. This terminates the warm or hot data link for the specified item.

To post this message, call the PostMessage function with the following parameters.

PostMessage( (HWND) hWnd, // handle to destination window WM_DDE_UNADVISE, // message to send (WPARAM) wParam, // handle to client window (HWND) (LPARAM) lParam // format and item atom ); = Parameters =

Remarks

The client application allocates the high-order word of lParam by calling the GlobalAddAtom function.

The server application posts the WM_DDE_ACK message to respond positively or negatively. When posting WM_DDE_ACK, the server can either reuse the atom, or it can delete the atom and create a new one.

Requirements

  Windows NT/2000 or later: Requires Windows NT 3.1 or later.
  Windows 95/98/Me: Requires Windows 95 or later.
  Header: Declared in Dde.h; include Windows.h.

windows_programming_notes.nbk: Home | Index | Next Page: WM_DEADCHAR | Previous Page: WM_DDE_TERMINATE


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time