18 Jun
2012
18 Jun
'12
6:41 p.m.
Dan Kegel <dank(a)kegel.com> wrote:
@@ -190,6 +190,8 @@ HOTKEY_Paint(HOTKEY_INFO *infoPtr, HDC hdc) HOTKEY_Refresh(infoPtr, hdc); else { PAINTSTRUCT ps; + /* In some apps, the hotkey doesn't draw unless we invalidate it here */ + InvalidateRect(infoPtr->hwndSelf, NULL, FALSE);
It doesn't make sense to invalidate before painting in the paint handler. -- Dmitry.