GetClipboardData on a delay rendered data inside a clipboard viewer causes recursive WM_DRAWCLIPBOARD
问题 When some other program puts a delay rendered data to clipboard (by calling SetClipboardData(fmt, NULL)), my clipboard viewer gets WM_DRAWCLIPBOARD. When my viewer calls GetClipboardData(), my window proc is called recursively with another WM_DRAWCLIPBOARD. I can't find any description of that. #define MY_CF CF_RIFF LRESULT CALLBACK WindowProc(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam) { switch (uMsg) { case WM_DRAWCLIPBOARD: OpenClipboard(hwnd); HGLOBAL hglob = GetClipboardData(MY_CF);