1,183
社区成员
发帖
与我相关
我的任务
分享
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TForm1 = class(TForm)
private
{ Private declarations }
public
{ Public declarations }
end;
function FindWindow(lpClassName, lpWindowName: PChar): HWND; stdcall;
var
Form1: TForm1;
implementation
{$R *.dfm}
function FindWindow; external user32 name 'FindWindowA';
end.