Delphi: How to respond to WM_SettingChange/WM_WinIniChange?
- by Ian Boyd
i need to know when my application recieves a WM_SETTINGCHANGE message (formerly known as WM_WININICHANGE).
Problem is that the message pump in TApplication sends it down a black hole (default handler) before i can get a chance to see it:
procedure TApplication.WndProc(var Message: TMessage);
...
begin
Message.Result := 0;
for I := 0 to…