Using a parent window that is never shown does indeed avoid a task entry in the task bar.
Thank you Glenn. > -----Original Message----- > From: Glenn Linderman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 12:28 PM > To: Hoff > Subject: Re: [perl-win32-gui-users] Suppressing task bar button > > > On approximately 3/12/2003 6:55 AM, came the following characters from > the keyboard of Hoff: > > My script uses a system tray icon but also makes a blank > button in the > > task bar. Can this button be hidden? > > Just take out the code that creates it! > > Actually, it is not clear from your question where the blank button > is.... if an extra blank system tray icon, you must be > somehow creating > two, as the default is to have none. > > If you mean a blank task entry in the task bar (you used that > word, but > many misuse it), then you must have explicitly made it > blank.... but you > can remove it by creating a window, making your main window have that > other window as a parent window, and then deleting that other window. > Only parent/independent windows show on the task bar. By making your > main window have a parent, it doesn't show on the task bar. > > Or, if you want your main window to show on the task bar > sometimes, when > it is hidden and disabled, it will vanish from the task > bar, allowing > the system tray icon to be the only thing showing. > > -- > Glenn > ===== > If the grass is greener on the other side of the fence, > try taking better care of your own side. -- Unknown >