appo icon

Closing the window for the title window

appo | PRO | 12/27/13 10:26:36 PM UTC | 0 ⭐ | 563 👁️ | Never ⏰ | []
Delphi |

240 B

|

None

|

0 👍

/

0 👎

//глобальная
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 //

Comments