Attempted to make property window always on top... ineffective

This commit is contained in:
andreja6
2019-11-05 22:51:27 -08:00
parent f9a1eea0d2
commit 01bc10f852
3 changed files with 18 additions and 3 deletions

View File

@@ -74,6 +74,10 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_SIZE:
app->resizeWithParent(hwnd);
break;
case WM_ACTIVATEAPP:
if(wParam == FALSE) app->setFocus(false);
else app->setFocus(true);
break;
default:
{
return DefWindowProc(hwnd, msg, wParam, lParam);