windows_programming_notes.nbk: Home | Index | Next Page: WM_DEVICECHANGE | Previous Page: WM_DESTROY


 WM_DESTROYCLIPBOARD

The WM_DESTROYCLIPBOARD message is sent to the clipboard owner when a call to the EmptyClipboard function empties the clipboard.

A window receives this message through its WindowProc function.

    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      UINT uMsg,       // WM_DESTROYCLIPBOARD
      WPARAM wParam,   // not used
      LPARAM lParam    // not used
    );

Parameters

This message has no parameters.

Return Values

If an application processes this message, it should return zero.

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 Winuser.h; include Windows.h.

windows_programming_notes.nbk: Home | Index | Next Page: WM_DEVICECHANGE | Previous Page: WM_DESTROY


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