I am trying to force the tray icon to always show with Delphi.
I am trying to force the tray icon to always show with Delphi. I found that FASTCOPY dose it in c++. The source is at https://fastcopy.jp/archive/FastCopy351src.zip Now to the point i am trying to translate the code to pascal. The file is tmisc.cpp and in mainwin.cpp line 2885 it uses the function ForceSetTrayIcon Can any one help ? from tmisc.cpp class __declspec(uuid("FB852B2C-6BAD-4605-9551-F15F87830935")) ITrayNotify : public IUnknown { public: virtual HRESULT __stdcall RegisterCallback(INotificationCB *) = 0; virtual HRESULT __stdcall SetPreference(const NOTIFYITEM *) = 0; virtual HRESULT __stdcall EnableAutoTray(BOOL) = 0; }; class __declspec(uuid("D133CE13-3537-48BA-93A7-AFCD5D2053B4")) ITrayNotify8 : public IUnknown { public: virtual HRESULT __stdcall RegisterCallback(INotificationCB *, u_long *) = 0; virtual HRESULT __stdcall UnregisterCallback(u_long) = 0; virtual HRESULT __stdcall SetPreference(const NOTIFYITEM *) = 0; virtual HRESULT __stdcal...