ole: Re-post the quit message outside of the DoDragDrop message loop.
This commit is contained in:
parent
89846948e3
commit
ba8cdfdc37
|
@ -526,6 +526,8 @@ HRESULT WINAPI DoDragDrop (
|
||||||
*/
|
*/
|
||||||
SetCapture(hwndTrackWindow);
|
SetCapture(hwndTrackWindow);
|
||||||
|
|
||||||
|
msg.message = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Pump messages. All mouse input should go the the capture window.
|
* Pump messages. All mouse input should go the the capture window.
|
||||||
*/
|
*/
|
||||||
|
@ -564,6 +566,9 @@ HRESULT WINAPI DoDragDrop (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* re-post the quit message to outer message loop */
|
||||||
|
if (msg.message == WM_QUIT)
|
||||||
|
PostQuitMessage(msg.wParam);
|
||||||
/*
|
/*
|
||||||
* Destroy the temporary window.
|
* Destroy the temporary window.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue