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

Vincent Povirk madewokherd+8cd9 at gmail.com
Thu Aug 21 22:49:30 CDT 2008


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.

Vincent Povirk



On Thu, Aug 21, 2008 at 10:44 PM, James McKenzie
<jjmckenzie51 at earthlink.net> wrote:
> Vincent Povirk wrote:
>> Why doesn't the WM_DESTROY case handle this properly? At first glance,
>> it appears to have code for stopping the running applets and quitting
>> from the main loop.
>>
>>
> WM_CLOSE is different than WM_DESTROY.  This is a missing case that
> needs to be handled whenever the Windows Manger receives this message.
> Good catch, Steven.
>
> James McKenzie
>
>



More information about the wine-devel mailing list