ide: remove MainFormOnTaskBar = true for the IDE + comment

git-svn-id: trunk@42171 -
This commit is contained in:
paul 2013-07-22 02:18:13 +00:00
parent 13938b13ec
commit ec67ea5655

View File

@ -89,7 +89,14 @@ begin
LazarusRevisionStr:=RevisionStr;
Application.Title:='Lazarus';
OnGetApplicationName:=@GetLazarusApplicationName;
Application.{%H-}MainFormOnTaskBar := True;
// on windows when MainFormOnTaskBar = True the main form becomes
// the parent of all other forms and therefore it always shows under
// other forms. For Lazarus the main form is the component palette form
// and it is not a desired behavior to see it always under other windows.
// So until we have a good docking solution let's have a dummy taskbar windows on windows.
Application.{%H-}MainFormOnTaskBar := False;
Application.Initialize;
TMainIDE.ParseCmdLineOptions;
if not SetupMainIDEInstance then exit;