Hi Al.
I use a really nice component called CoolTrayIcon which is free.
It handles everything for you. If you want ot hide the window, you call
HideWindow, to show it, ShowWindow etc. etc. etc.
I found it a LOT better than the RX one.
Email me Priv. if you want it. Its free.

Jeremy

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Alistair George
Sent: Monday, 10 March 2003 19:58
To: Multiple recipients of list delphi
Subject: [DUG]: Tray icons and taskbar icons


Hi all.
Having some minimize problems. When I minize to tray 1st time is OK, no
sign left on task bar of application. Then I restore from tray and then
second time minize to tray an icon is left on the task bar
(undesirable).

Any thoughts?

procedure TMainform.MinimizeToTray(sender: TObject);
begin
  hide;
  application.Minimize;
  rxtrayicon1.active := true;
end;

procedure TMainform.EXITtoBack4WinXP1Click(Sender: TObject); begin
  RxTrayIcon1.Active := false;
//    Show;
  application.Restore;
  BringToFront;
end;

------------------------------------------------------------------------
---
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to