|
-
May 3rd, 1999, 03:19 PM
#1
Destroy Window
How to destroy the window?
I have HWND pointer(by using the FindWindow(), but i cant close the application? or is there a standart way to close an application?
Can anyone help me out please!
Thanx in advance.
-
May 7th, 1999, 08:40 AM
#2
Re: Destroy Window
Try the API DestroyWindow(HWND hWnd)
I hope it help
Marc
Industrial Software Developer
-
May 7th, 1999, 09:10 AM
#3
Re: Destroy Window
DestroyWindow( HWND ) only works if the HWND window is created by the same thread which is trying to destroy it. This is probably not the case when you're using FindWindow
-
May 10th, 1999, 05:17 AM
#4
Re: Destroy Window
Try sending (or posting) a WM_QUIT message to it.
-
May 10th, 1999, 07:44 AM
#5
Re: Destroy Window
Try sending a WM_CLOSE to the window to detroy it
and posting a WM_QUIT message to the application to kill it
Sally
-
May 10th, 1999, 07:48 AM
#6
Re: Destroy Window
Hmmm,
Try sending a WM_CLOSE to the window to detroy it
and posting a WM_QUIT message to the application to kill it
Sally
-
May 12th, 1999, 01:40 PM
#7
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
|