Guest User

Untitled

a guest
Apr 23rd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. procedure InvalidateDesktop;
  2. begin
  3. RedrawWindow(GetDesktopWindow, 0, 0, RDW_INVALIDATE);
  4.  
  5. //if that doesn't work then try this:
  6. //Sendmessage(GetDesktopWindow, wm_setredraw, 1, 0);
  7. end;
  8.  
  9. FBitmap.Canvas.Brush.Color := clWhite;
  10. FBitmap.Canvas.FillRect(FBitmap.Canvas.ClipRect);
Add Comment
Please, Sign In to add comment