Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //глобальная
- var
- tit:HWND;
- procedure TForm1.Timer1Timer(Sender: TObject);
- begin
- tit:=FindWindow(nil, 'Мой компьютер'); // Window name
- if (tit>0) then
- PostMessage(tit, WM_CLOSE, 1, 0);
- end;
- // Coded by Appo //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement