W
wsqyc
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure ShowChildForm( App : THandle);stdcall;export;
begin
Application.Handle := App;
Form1 := TForm1.Create(Application);
// Form1.FormStyle := fsMdiChild;
//Form1.Show;
end;
上面为子窗体的输出函数,主窗体调用传入了Application.Handle,在执行时为什么出现"No MDI Form
Are Currently Active",请问是什么原因,主窗体传入的参数一定是Application.Handle
在子窗体Dll函数中有什么好办法吗?
begin
Application.Handle := App;
Form1 := TForm1.Create(Application);
// Form1.FormStyle := fsMdiChild;
代码:
end;
上面为子窗体的输出函数,主窗体调用传入了Application.Handle,在执行时为什么出现"No MDI Form
Are Currently Active",请问是什么原因,主窗体传入的参数一定是Application.Handle
在子窗体Dll函数中有什么好办法吗?