filter WM_NCACTIVATE with noactivateapp=true
This commit is contained in:
parent
a72a95baca
commit
85115cbf16
2 changed files with 10 additions and 2 deletions
|
@ -21,7 +21,6 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
|||
|
||||
switch(uMsg)
|
||||
{
|
||||
//case WM_NCACTIVATE:
|
||||
case WM_GETMINMAXINFO:
|
||||
case WM_MOVING:
|
||||
case WM_NCLBUTTONDOWN:
|
||||
|
@ -30,6 +29,15 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
|||
{
|
||||
return DefWindowProc(hWnd, uMsg, wParam, lParam);
|
||||
}
|
||||
case WM_NCACTIVATE:
|
||||
{
|
||||
if (g_ddraw->noactivateapp)
|
||||
{
|
||||
return DefWindowProc(hWnd, uMsg, wParam, lParam);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
case WM_NCHITTEST:
|
||||
{
|
||||
LRESULT result = DefWindowProc(hWnd, uMsg, wParam, lParam);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue