Anyone here know how to close application using click event button?
Printable View
Anyone here know how to close application using click event button?
when click what?
When click, it close the windows open and shown up the form.
Not clear what your doing Dear :D
Use FindWindow to get the applications window handle. Then pass that to a PostMessage witht he WM_CLOSE or WM_QUIT message.