(...) if fData.hIcon=0 then fData.hIcon := Icon.Handle else fData.hIcon := 0; Shell_NotifyIcon(NIM_MODIFY,@fData); (...)