[DUG] Delphi disappearing from taskbar

Ross Levis ross at stationplaylist.com
Thu Apr 12 11:39:52 NZST 2007


I've used all versions of Windows and from Windows 95 onwards, I've only seen this happen when Explorer has crashed.  It's up to the individual applications to re-create the system tray icons when the tray is re-created after an Explorer crash.

When explorer closes and is re-started, it does not know what was in the system tray previously, nor what is supposed to be there.  When the shell re-starts, it sends a system-wide broadcast message, WM_TASKBARCREATED.  Since this is a broadcast message, all running apps are supposed to hear this message and if they have system tray icons, recreate them.

I recently had a complaint that my app was not doing this so I investigated it and modified the RxTrayIcon component I use to check for this message. 

Ross.
  ----- Original Message ----- 
  From: Rohit Gupta 
  To: johnkbird at paradise.net.nz ; NZ Borland Developers Group - Delphi List 
  Sent: Thursday, April 12, 2007 8:41 AM
  Subject: Re: [DUG] Delphi disappearing from taskbar


  Its a bug in Windows, fullstop (ie in all versions).  Despite the three major rewrites they have done.  :-)

  John Bird wrote: 
I have seen this with other icons also disappearing from the task bar.  A
rare occurrence but I am sure!.  I am fairly sure this is a bug in XP, as it
is not to do with certain programs - eg sometimes Outlook disappears,
sometimes Firefox, sometimes something else.   The Alt/Tab list does still
have it.

Related is the one where the task bar icon is highighted (ie has focus) but
the window is nowhere to be seen.  I have to minimise and maximise the
window sometimes a couple of times to get it back in front.  This is a bit
more common on my PC that the first one...

John

-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Alister Christie
Sent: Wednesday, 11 April 2007 4:33 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Delphi disappearing from taskbar


Hmmm, yup that puts it back, I'm sure there is a reasonable explanation 
for this - but I doubt I'll ever know it

Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington 



Jeremy North wrote:
  If you have D2007 installed, minimize and maximize the IDE. If you 
don't have D2006 installed - then I happen experienced it myself.

On 4/11/07, Alister Christie <alister at salespartner.co.nz> wrote:
    I don't know if anyone else has seen this, but from time to time 
D2006 vanishes from my task bar - I can still get to it via alt+tab, 
but it's just bizarre.
      _______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with
Subject: unsubscribe


    _______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe

__________ NOD32 2178 (20070410) Information __________

This message was checked by NOD32 antivirus system. http://www.eset.com



_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe


  

  -- 

  Rohit Gupta
  B.E. Elec.   M.E.   Mem IEEE    Associate IEE
  Technical Manager
  Computer Fanatics Limited

  Tel     +64 9 4892280
  Fax    +64 9 4892290
  Email  rohit at cfl.co.nz
  Web    www.cfl.co.nz


------------------------------------------------------------------------------

  This email and any attachments contain information, which is confidential and may be subject to legal privilege and copyright. If you are not the intended recipient, you must not use, distribute or copy this email or attachments. If you have received this in error, please notify us immediately by return email and then delete this email and any attachments. 


------------------------------------------------------------------------------


  _______________________________________________
  NZ Borland Developers Group - Delphi mailing list
  Post: delphi at delphi.org.nz
  Admin: http://delphi.org.nz/mailman/listinfo/delphi
  Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20070412/f74f90f0/attachment.html


More information about the Delphi mailing list