Skip to content

Commit

Permalink
Reduce flicker on Windows 10. See https://www.heidisql.com/forum.php?…
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarbecker committed Mar 8, 2017
1 parent 209f398 commit d0b8194
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/main.pas
Expand Up @@ -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);

Expand Down

0 comments on commit d0b8194

Please sign in to comment.