|
-
Jun 16th, 2000, 09:57 AM
#1
Thread Starter
Junior Member
Hello i have a Question about API
i what to Force to lcose a Program : i'v tryed this
PostMessage hwndName, WM_CLOSE Or EWX_FORCE, 0&, 0&
and This :
PostMessage hwndName, WM_CLOSE, 0&, 0&
but i can't,
for example : i what to close Notepad and i have the Hwnd, but when
i write something in it and use PostMessage to close the prog
it ask me if what to to Save it i don't what that !!
i whatt close iT
i with out the blablab.... any idea ?
tjhank's
-
Jun 17th, 2000, 08:31 AM
#2
This may not be the best way, but you can just use the SendKeys and select "no"
-
Jun 18th, 2000, 05:29 PM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|