Home
Top.Mail.Ru Yandeks.Metrika
Forum: "WinAPI";
Current archive: 2004.12.12;
Download: [xml.tar.bz2];

Down

Close a window Find similar branches


Jay   (2004-10-27 16:02) [0]

How can I close the window of another program if I know the handle of this window?
Tried WindowDestroy - does not help, WindowClose, as indeed it is written in the help, just minimizes the window.



TUser ©   (2004-10-27 16:04) [1]

send him wm_quit
DestroyWindow / wm_destroy



Jay   (2004-10-27 16:14) [2]

Thanks, wrote this:
PostMessage (handle, WM_QUIT, 0, 0)
everything works fine



BURN ©   (2004-10-29 02:03) [3]

And you can finish off the whole process :)
WinExec ("taskkill / im xxxx.exe / f", SW_HIDE)



GanibalLector ©   (2004-10-29 02:04) [4]

2 BURN
Not recommended for use Winexec



Pages: 1 whole branch

Forum: "WinAPI";
Current archive: 2004.12.12;
Download: [xml.tar.bz2];

Top









Memory: 0.56 MB
Time: 0.071 c
3-1100265294
Newbie_In_DB
2004-11-12 16:14
2004.12.12
Uploading values ​​to DBCombobox


3-1100435214
Alexey
2004-11-14 15:26
2004.12.12
beautiful dbgrid


3-1100620186
Bogdan
2004-11-16 18:49
2004.12.12
TDBGrid Fields


3-1100059505
Marat
2004-11-10 07:05
2004.12.12
Error inserting into StringGrid


14-1100725032
GanibalLector
2004-11-17 23:57
2004.12.12
1C





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Español swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish