Robert Meek wrote: > When you have an application that runs from the tray, do you prefer > NOT to have it also show up on the windows taskbar, or do you like it to > appear in both?
I tried having Winamp keep its icon in the notification area and also appear in the taskbar. The good side effect of that is that the window appears in the Alt+Tab list, so I can get to the window by the keyboard. The bad side effect of that is that the window is *always* the first item in the Alt+Tab list, which means I can no longer toggle between two windows as quickly as usual. Being able to focus other windows quickly eventually trumped being able to focus Winamp occasionally, so I now have it configured to display its icon only in the notification area. > 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 read... So read the options before you create the form. Or read them while you're creating it, but before CreateParams gets called. Or read them afterward and change the form's attributes accordingly. > unless someone knows of a way to handle this > directly from the dpr? A "way"? You mean besides cut and paste? > 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 code...it never actually becomes > visible nor is it accessed directly in anyway by the user! Um, then what, exactly, would you have appear on the taskbar anyway? -- Rob _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

