RE: [DUG]: Tray Icons

1999-04-28 Thread Nigel Tavendale

I have used the same component though we are not using 98 here.

To make your window active you could try Throwing a WM_MOUSEDOWN Message at
the form when the app restores.  The icon tray compnent does have an on
restore event associated withit (from memory - check this).

Nigel.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Chris Crowe
Sent: Thursday, 29 April 1999 15:07
To: Multiple recipients of list delphi
Subject: [DUG]: Tray Icons


What is the BEST Free Tray icon out there, and where do I get it?

I need -:

1) Animation from a Resource File
2) Proper Popup Menu Support
3) Proper Hiding and Showing of the Icon
4) Proper display of windows on Windows98 after being activated from Popup
Menu.

I have tried a few around, but some are just CRAP. I found one that I
thought worked OK. It did not support Dbl-Click. It leaves the icon hanging
around sometimes which leaves gaps in my Tray. The icon is not visible, but
the tool tip is if you hover over it.

I used a product called PGTray95, which supports all but #4.

On my NT Server computer, using PGTray95 #4 above works, it also works on
Win95, but on Win98 the window opens, the cursor is flashing in the edit
control, but the form is not active. You must select the form with the
mouse, or Alt-Tab to activate it.


Christopher Crowe (Software Developer)
Microsoft MVP, MCP

Adrock Software
Byte Computer & Software LTD
P.O Box 13-155
Christchurch
New Zealand
Phone/Fax (NZ) 03-3651-112


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Tray Icons

1999-04-28 Thread Chris Crowe

The problem is Nigel, it is usually not my window which contains the Tray icon. It is 
sometimes a dialog, like say InputDialog.

It is a real hassle, as that Tray Icon is great except for this problem

Chris

Christopher Crowe (Software Developer)
Microsoft MVP, MCP

Adrock Software
Byte Computer & Software LTD
P.O Box 13-155 
Christchurch
New Zealand
Phone/Fax (NZ) 03-3651-112


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Nigel Tavendale
> Sent: Thursday, 29 April 1999 16:22
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Tray Icons
> 
> 
> I have used the same component though we are not using 98 here.
> 
> To make your window active you could try Throwing a WM_MOUSEDOWN 
> Message at
> the form when the app restores.  The icon tray compnent does have an on
> restore event associated withit (from memory - check this).
> 
> Nigel.
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Chris Crowe
> Sent: Thursday, 29 April 1999 15:07
> To: Multiple recipients of list delphi
> Subject: [DUG]: Tray Icons
> 
> 
> What is the BEST Free Tray icon out there, and where do I get it?
> 
> I need -:
> 
> 1) Animation from a Resource File
> 2) Proper Popup Menu Support
> 3) Proper Hiding and Showing of the Icon
> 4) Proper display of windows on Windows98 after being activated from Popup
> Menu.
> 
> I have tried a few around, but some are just CRAP. I found one that I
> thought worked OK. It did not support Dbl-Click. It leaves the 
> icon hanging
> around sometimes which leaves gaps in my Tray. The icon is not 
> visible, but
> the tool tip is if you hover over it.
> 
> I used a product called PGTray95, which supports all but #4.
> 
> On my NT Server computer, using PGTray95 #4 above works, it also works on
> Win95, but on Win98 the window opens, the cursor is flashing in the edit
> control, but the form is not active. You must select the form with the
> mouse, or Alt-Tab to activate it.
> 
> 
> Christopher Crowe (Software Developer)
> Microsoft MVP, MCP
> 
> Adrock Software
> Byte Computer & Software LTD
> P.O Box 13-155
> Christchurch
> New Zealand
> Phone/Fax (NZ) 03-3651-112
> 
> 
> --
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>   Website: http://www.delphi.org.nz
> 
> 
> --
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>   Website: http://www.delphi.org.nz
> 

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Tray icons and taskbar icons

2003-03-09 Thread Jeremy Coulter
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/