|
|
program project1;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms, Unit1 ,Windows, Unit2
{ you can add units after this };
{$R *.res}
var
Ex : Integer;
begin
RequireDerivedFormResource := True;
Application.Initialize;
Ex:=GetWindowLong(FindWindow(nil, 'project1'), GWL_EXSTYLE);
SetWindowLong(FindWindow(nil, 'project1'),GWL_EXSTYLE, Ex or WS_EX_TOOLWINDOW and not WS_EX_APPWINDOW);
Application.CreateForm(TForm1, Form1);
Application.CreateForm(TForm2, Form2);
Application.Run;
end.
|
评分
-
查看全部评分
|