⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 binatexto.dpr

📁 Fontes e exemplos CALLER ID DELPHI
💻 DPR
字号:
program BinaTexto;

uses
  Forms,
  messages,
  Windows,
  Unit1 in 'Unit1.pas' {FormTexto},
  Unit2 in 'Unit2.pas' {Form2},
  UnitMestre in 'UnitMestre.pas' {FormMestre};

var
THnd,btHnd:THandle;

{$R *.res}

begin

 THnd := Findwindow('TFormTexto', 'Gera Arquivo Texto');
 if THnd>0 then begin
    btHnd := FindWindowEx(THnd,0,'TButton','Show');
    if btHnd>0 then
        SendMessage(btHnd,BM_CLICK, btHnd,0);
     exit;
 end;


  Application.Initialize;
  Application.CreateForm(TFormMestre, FormMestre);
  Application.CreateForm(TFormTexto, FormTexto);
  Application.CreateForm(TForm2, Form2);
  Application.Run;
end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -