I'm showing a second form in the taskbar to look like it is a second application. I'm using the following code to achieve this:
procedure TfrmEditor.CreateParams(var Params: TCreateParams);
with Params do begin
ExStyle := (ExStyle or WS_EX_APPWINDOW);
WndParent := GetDesktopWindow;
Problem now is that whenever I show another form Modal ontop of this form (for example a MessageBox), the window disappears to show the main form and reapears again only when I close the modalshowed form.
Anyone knows how to solve this? I already tried to not set the HwndParent but that will mess with minimize and Alt-Tab.