![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Form+DLL [D5, D6, Win2k, WinXP]
Dron_Fox © (2002-10-31 11:41:00)Я вызываю форму из DLL и она отображается в TaskBare. Как её убрать из TaskBara?
Функция в DLL:
Function ShowAboutForm:integer;
begin
AboutForm := TAboutForm.Create(Application);
Result := AboutForm.ShowModal;
AboutForm.Free;
end;
Вызов в программе:
function ShowAboutForm: Integer; External "REmdll.dll";
procedure TForm1.Button1Click(Sender: TObject);
begin
if ShowAboutForm=mrok then
begin
FreeAboutForm;
end;
end;
Dron_Fox (2002-10-31 12:23:00) [1]Шпасиба. Работает.
Александр Спелицин (2002-10-31 11:47:00) [2]http://www.delphikingdom.com/helloworld/md_dll.htm
Ерик (2002-10-31 11:44:00) [3]Присвоить Application.Handle DLL - Application.Handle EXE.