user32: Handle the undocumented behaviour in DefWindowProc for WM_NCACTIVATE that causes the nonclient area not to be redrawn.

Robert Shearman rob at
Tue Mar 18 07:06:59 CDT 2008

If the lParam is 0xffffffff then the nonclient area is not redrawn.
  dlls/user32/controls.h  |    2 +-
  dlls/user32/defwnd.c    |    2 +-
  dlls/user32/nonclient.c |   16 +++++++++++-----
  3 files changed, 13 insertions(+), 7 deletions(-)

Outlook 2007 depends on this undocumented behaviour. I don't know if 
this behaviour was always present, but it is at least on XP SP2.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dc95b98de1139dc070a253b55e10845f3fb67103.diff
Type: text/x-patch
Size: 2282 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list