> Unfortunately it does not work, something fishy is happening here.
Well, I had a poke around the Lazarus TrayIcon code, its identical to the block of code circulating on this thread ending with Shell_NotifyIconW(NIM_MODIFY, @NotifyData);
pcurtis's "does not work" could be translated to "if you set the NotifyData.szInfo[0] := 0 it does not compile (obviously) and if you set it to WideChar(0); it compiles and runs fine but no notification is recorded by Windows.".
Clearly, some time in the past, setting NotifyData.szInfo must have "worked" and setting the timeout (which is ignored) must have done what we'd expect. That says to me that MS have redefined the API, probably in a effort to make the notifier experience more uniform. They don't want different applications doing different things, if you send a notification expect a "banner" (thats the small slider) to be visible for 3-4 seconds (as long as the user has not turned the banner off).
Incidentally, on my Windows install I have changed almost none of the settings, by default, that banner or Toaster as Getmem calls it, is enabled for all apps.
pcurtis, what I suggest you do is accept the banner is going to appear. You can however determine what it says, so, how about settings it's title to the name of some Windows Service ? The users who find it really annoying will blame that service and not your app !
Davo