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