From cedb545e5cd14b8900a28918a04055d145e20d28 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 30 Oct 2014 08:48:36 -0400 Subject: Okay, REALLY fixed the redraw issues now. A few wacky drawing issues remain, but... not THIS. --- basicctrls_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basicctrls_windows.c') diff --git a/basicctrls_windows.c b/basicctrls_windows.c index 1041b32..b75633e 100644 --- a/basicctrls_windows.c +++ b/basicctrls_windows.c @@ -136,7 +136,7 @@ static LRESULT CALLBACK groupSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM if (sharedWndProc(hwnd, uMsg, wParam, lParam, &lResult)) return lResult; switch (uMsg) { - case WM_WINDOWPOSCHANGING: + // don't do this on WM_WINDOWPOSCHANGING; weird redraw issues will happen case WM_WINDOWPOSCHANGED: // don't use the WINDOWPOS rect here; the coordinates of the controls have to be in real client coordinates if (GetClientRect(hwnd, &r) == 0) -- cgit v1.2.3