Robert Meek wrote:
When you have an application that runs from the tray, do you prefer
NT to have it also show up on the windows taskbar, or do you like it to
appear in both? I've tried to make this an optional setting however it
doesn't seem possible as the mainform is created one way or the other before
option settings can be readunless someone knows of a way to handle this
directly from the dpr? And note, the mainform of my application is used
only for basic setup code, global interface control components, the trayicon
component, and its custom popup menu codeit never actually becomes
visible nor is it accessed directly in anyway by the user!
When I was at TurboPower we struggled with precisely this question in
desgining the "Tray Icon" component for SysTools (the component was
later shifted to the ShellShock product).
Some folks wanted it one way, some the other and it was not a clear win
for either side, so we elected to make it optional.
I don't recall precisely how we did it (I'd have to dig out the
StTrIcon.pas code to review), but it's possible.
Stephen Posey
slposey (AT) concentric (DOT) net
Delphi mailing list -Delphi (AT) elists (DOT) org