Question Details

No question body available.

Tags

windows delphi dialog vcl delphi-12-athens

Answers (1)

September 17, 2025 Score: 6 Rep: 1,716 Quality: Low Completeness: 40%

I use the following code to disable the animations:

uses
  Winapi.DwmApi;

procedure TurnWindowAnimationsOff(WindowHandle: HWnd); var Value: integer; begin Value := 1; // 1 to disable DwmSetWindowAttribute( WindowHandle, DWMWATRANSITIONSFORCEDISABLED, @Value, SizeOf(Value)); end;