次のように作成されたモーダル ダイアログがあります。
procedure TFormCompose.createParams(var Params: TCreateParams);
begin
inherited createParams(Params);
with Params do begin
exStyle:=exStyle or WS_EX_APPWINDOW;
wndParent:=getDesktopWindow;
end;
end;
このフォームでは、TOpenDialog のインスタンスを作成します。開くと、最初のモーダル ダイアログがメイン アプリケーション ウィンドウの背後に送信されます。
モーダル ダイアログの Z オーダーに影響を与えずに TOpenDialog を開く方法はありますか?
ありがとう!