Permalink
Browse files

Reduce flicker on Windows 10. See https://www.heidisql.com/forum.php?…

  • Loading branch information...
ansgarbecker committed Mar 8, 2017
1 parent 209f398 commit d0b8194029acc8648d212cc2fb6be54b7790358d
Showing with 6 additions and 0 deletions.
  1. +6 −0 source/main.pas
View
@@ -1659,6 +1659,12 @@ procedure TMainForm.FormCreate(Sender: TObject);
on E:EOleSysError do;
end;
// Reduce flicker on Windows 10
if CheckWin32Version(6, 2) then begin
DoubleBuffered := True;
end;
// Ensure directory exists
ForceDirectories(DirnameUserAppData);

0 comments on commit d0b8194

Please sign in to comment.