Re: Monthcal lost focus fix
7 Dec
2007
7 Dec
'07
6:01 p.m.
Gregor Brunmar <gregor.brunmar(a)home.se> writes:
diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c index 8a92d42..e826612 100644 --- a/dlls/comctl32/monthcal.c +++ b/dlls/comctl32/monthcal.c @@ -1719,11 +1719,12 @@ MONTHCAL_Paint(MONTHCAL_INFO *infoPtr, WPARAM wParam)
static LRESULT -MONTHCAL_KillFocus(const MONTHCAL_INFO *infoPtr) +MONTHCAL_KillFocus(const MONTHCAL_INFO *infoPtr, HWND hFocusWnd) { TRACE("\n");
- InvalidateRect(infoPtr->hwndSelf, NULL, TRUE); + if (infoPtr->hwndNotify != hFocusWnd) + ShowWindow(infoPtr->hwndSelf, SW_HIDE);
Is there a reason for removing the InvalidateRect completely? -- Alexandre Julliard julliard(a)winehq.org
6584
Age (days ago)
6584
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard