Commit 4450ea5d authored by John van Groningen's avatar John van Groningen
Browse files

use PeekMessage with PM_REMOVE | (QS_POSTMESSAGE<<16)

flags, instead of GetMessage
parent f4db8eca
......@@ -88,7 +88,8 @@ int get_integers_from_thread_message (int wm_number,int thread_handle,int *i1_p,
r=PeekMessage (&message,INVALID_HANDLE_VALUE,wm_number,wm_number,PM_NOREMOVE | (QS_POSTMESSAGE<<16));
r=GetMessage (&message,INVALID_HANDLE_VALUE,wm_number,wm_number);
r=PeekMessage (&message,INVALID_HANDLE_VALUE,wm_number,wm_number,PM_REMOVE | (QS_POSTMESSAGE<<16));
/* r=GetMessage (&message,INVALID_HANDLE_VALUE,wm_number,wm_number); */
if (r!=0){
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment