|
![]() |
#1 |
Модератор
|
static void CloseNotepadJob(Args _args)
{ #winApi HWND hFind = 0; ; hFind = WinAPI::findWindow("Notepad","?????????? - ???????"); if (hFind != 0) { WinApi::sendMessage(hFind, #WM_CLOSE, 0, ""); info (strfmt("%1",hFind)); } } |
|