Board index » delphi » Extra "blank" taskbar icon appears on my App. (like Rad Studio IDE extra "blank" taskbar icon) after update #3
Suri
![]() Delphi Developer |
Suri
![]() Delphi Developer |
Extra "blank" taskbar icon appears on my App. (like Rad Studio IDE extra "blank" taskbar icon) after update #32008-01-17 12:58:30 PM delphi184 I've posted the problem about "blank" taskbar icon keeps appearing on my Rad Studio IDE after update #3 and was told that it was a known issue. Now my application is getting extra "blank" taskbar as well just like Rad Studio after the update #3. I am running Vista Ultimate. This seems to happen if my splash screen stays on too long. It does not appear right away, but, couple seconds into loading my application. Even when my splash screen is freed the taskbar icon stays visible. Can somebody shade the light on this issue because it seems to be similar thing that happens to Rad Studio IDE Update 3? I need a workaround. Suri |
John
![]() Delphi Developer |
2008-01-17 08:38:45 PM
Re:Extra "blank" taskbar icon appears on my App. (like Rad Studio IDE extra "blank" taskbar icon) after update #3
Same problem here
|
Suri
![]() Delphi Developer |
2008-01-17 11:50:19 PM
Re:Extra "blank" taskbar icon appears on my App. (like Rad Studio IDE extra "blank" taskbar icon) after update #3
Ok, the problem seems to come from the option "Application.MainFormOnTaskbar
:= True;". Try turning this on way after you are done with the initialization of your app. (In my case after all Application.CreateForm() because my initializations are done within OnFromCreate(s) ). This seems to do the trick. Example: program Project1; uses Forms, Unit1 in 'Unit1.pas' {Form1}, FrmAbout in 'FrmAbout.pas' {FormAbout}; {$R *.res} begin Application.Initialize; ShowSplash(); Application.CreateForm(TForm1, Form1); HideSplash(); //-- turn this on after we are done with all the initializations Application.MainFormOnTaskbar := True; Application.Run; end. "Suri" <XXXX@XXXXX.COM>writes QuoteI've posted the problem about "blank" taskbar icon keeps appearing on my |