From aa04597a91d301ae12818eb2fc8f782d3c1a31fe Mon Sep 17 00:00:00 2001 From: Louis Philippe Gagnon Date: Wed, 16 Aug 2000 12:44:04 +0000 Subject: [PATCH] While dragging, catch keyboard messages between WM_KEYFIRST and WM_KEYLAST, not just WM_KEYFIRST. --- dlls/ole32/ole2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c index adb80c0c6a9..e3372a2c27a 100644 --- a/dlls/ole32/ole2.c +++ b/dlls/ole32/ole2.c @@ -541,7 +541,7 @@ HRESULT WINAPI DoDragDrop ( while (!trackerInfo.trackingDone && GetMessageA(&msg, 0, 0, 0) ) { if ( (msg.message >= WM_KEYFIRST) && - (msg.message <= WM_KEYFIRST) ) + (msg.message <= WM_KEYLAST) ) { /* * When keyboard messages are sent to windows on this thread, we