windows_programming_notes.nbk: Home | Index | Next Page: win32 msgs: WM_SETREDRAW | Previous Page: win32 msgs: WM_RENDERALLFORMATS
The WM_RENDERFORMAT message is sent to the clipboard owner if it has delayed rendering a specific clipboard format and if an application has requested data in that format. The clipboard owner must render data in the specified format and place it on the clipboard by calling the SetClipboardData function.
A window receives this message through its WindowProc function.
LRESULT CALLBACK WindowProc( HWND hwnd, // handle to window UINT uMsg, // WM_RENDERFORMAT WPARAM wParam, // clipboard format (UINT) LPARAM lParam // not used );
If an application processes this message, it should return zero.
When responding to a WM_RENDERFORMAT message, the clipboard owner must not open the clipboard before calling SetClipboardData.
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: win32 msgs: WM_SETREDRAW | Previous Page: win32 msgs: WM_RENDERALLFORMATS
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time