[PATCH] shell32 - handle WM_CLOSE in the Control Panel window (fixed)

James Mckenzie jjmckenzie51 at earthlink.net
Fri Aug 22 09:09:23 CDT 2008


Vincent Povirk <madewokherd+8cd9 at gmail.com> at Aug 21, 2008 8:49 PM (MST) wrote about [PATCH] shell32 - handle WM_CLOSE in the Control Panel window (fixed)
>
>WM_CLOSE is already handled by the default window procedure,
>DefWindowProcW, which calls DestroyWindow. It's only necessary to
>override the default for WM_CLOSE if you want to prevent the window
>from being destroyed.
>
So what is the use of this case?  Is it to prevent DestroyWindow from being called or is it to insert additional code before DestroyWindow is called.  I'll have to git the current source and examine it further.  Thank you for advising of the original case, which I had not assumed was what happened on a WM_CLOSE message.

James McKenzie



More information about the wine-devel mailing list