Zulander1
Jun 16th, 2000, 09:57 AM
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
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