📄 project1.dpr
字号:
program project1;
uses
Forms,
Windows,
Messages,
Unit1 in 'Unit1.pas' {Form1},
Unit2 in '..\comm2lzp\msco2\Unit2.pas' {Form2};
var
RvHandle : hWnd;
{$R *.res}
begin
RvHandle := FindWindow('comp', NIL);
if RvHandle > 0 then begin
PostMessage(RvHandle, CM_RESTORE, 0, 0);
Exit;
end;
Application.Initialize;
Application.Title := '串口幽灵';
Application.CreateForm(TForm1, Form1);
Application.CreateForm(TForm2, Form2);
Application.Run;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -