We are required to pass along WM_CHANGECBCHAIN messages to the
next window in order for the chain to properly update. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
baebff2227
commit
6944612e56
@ -1343,12 +1343,11 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
|
||||
return 0;
|
||||
|
||||
case WM_CHANGECBCHAIN:
|
||||
if ((hWnd == clipboard_wnd) &&
|
||||
(next_clipboard_wnd == (HWND)wParam)) {
|
||||
if ((hWnd == clipboard_wnd) && (next_clipboard_wnd == (HWND)wParam))
|
||||
next_clipboard_wnd = (HWND)lParam;
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
else
|
||||
SendMessage(next_clipboard_wnd, WM_CHANGECBCHAIN, wParam, lParam);
|
||||
return 0;
|
||||
|
||||
case WM_DRAWCLIPBOARD:
|
||||
// When the clipboard moves between two FLTK windows,
|
||||
|
Loading…
Reference in New Issue
Block a user