Description: Whenever the date / time settings are changed, Windows is sending a message: WM_ TIMECHANGE. All we have to do, is to intercept this message:
procedure WMTimeChange(var Message: TMessage);
message WM_ TIMECHANGE;
Don't forget to place the inherited keyword at the end
of the WMTimeChange procedure, otherwise Windows will not process this message
correctly.
...
procedure TfMain.WMTimeChange(var Message:
TMessage);
begin
ShowMessage('Date / time settings
changed!');
inherited;
end;