mirror of
https://github.com/Xevion/easy7zip.git
synced 2026-01-31 12:24:08 -06:00
4.44 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
804edc5756
commit
d9666cf046
Executable
+22
@@ -0,0 +1,22 @@
|
||||
// Windows/ProcessMessages.cpp
|
||||
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "ProcessMessages.h"
|
||||
|
||||
namespace NWindows {
|
||||
|
||||
void ProcessMessages(HWND window)
|
||||
{
|
||||
MSG msg;
|
||||
while (::PeekMessage(&msg, NULL, 0, 0, PM_REMOVE) )
|
||||
{
|
||||
if (window == (HWND) NULL || !IsDialogMessage(window, &msg))
|
||||
{
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user