Title: How to detect if the system time has been changed
type
TForm1 = class(TForm)
private
procedure WMTimeChange(var Msg: TMessage); message WM_TIMECHANGE;
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.WMTimeChange(var Msg: TMessage);
begin
inherited;
ShowMessage('Date/Time has changed!'); // Datum/Zeit wurde ge?ndert!
end;