Dan Kegel dank@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.