C
cxx1997
Unregistered / Unconfirmed
GUEST, unregistred user!
我希望将子窗体放到DLL/COM中实现。但用DELPHI5开发人员指南中的子窗体TCHILDFORM
在DLL中显示不出来。
DLL中:
function CreateForm(app:thandle;aowner:twincontrol):boolean;
begin
application.Handle := app;
form1:=TForm1.Create(application,aowner);
form1.Show;
end;
aowner传来的是PANLE1
TForm1 = class(TChildForm) TChildForm参见DLEPHI5人员指南
在DLL中显示不出来。
DLL中:
function CreateForm(app:thandle;aowner:twincontrol):boolean;
begin
application.Handle := app;
form1:=TForm1.Create(application,aowner);
form1.Show;
end;
aowner传来的是PANLE1
TForm1 = class(TChildForm) TChildForm参见DLEPHI5人员指南