I have a modal dialog that is created with the following:
procedure TFormCompose.createParams(var Params: TCreateParams);
begin
inherited createParams(Params);
with Params do begin
exStyle:=exStyle or WS_EX_APPWINDOW;
wndParent:=getDesktopWindow;
end;
end;
In this form, I create an instance of TOpenDialog. When it opens, it sends my first modal dialog behind the main application window.
Is there a way to get the TOpenDialog to open without affecting the Z order of the modal dialog?
Thanks!