Author: jimtabor
Date: Mon Aug 24 08:09:01 2009
New Revision: 42902
URL:
http://svn.reactos.org/svn/reactos?rev=42902&view=rev
Log:
- Patch by Rein Klazes : user32: Handle WM_PRINTCLIENT message in PopupMenuWndProc().
Modified:
trunk/reactos/dll/win32/user32/windows/menu.c
Modified: trunk/reactos/dll/win32/user32/windows/menu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/m…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/menu.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/menu.c [iso-8859-1] Mon Aug 24 08:09:01 2009
@@ -998,6 +998,13 @@
return 0;
}
+ case WM_PRINTCLIENT:
+ {
+ MenuDrawPopupMenu( Wnd, (HDC)wParam,
+ (HMENU)GetWindowLongPtrW( Wnd, 0 ) );
+ return 0;
+ }
+
case WM_ERASEBKGND:
return 1;
@@ -1060,6 +1067,13 @@
MenuDrawPopupMenu(Wnd, ps.hdc, (HMENU)GetWindowLongPtrW(Wnd, 0));
EndPaint(Wnd, &ps);
return 0;
+ }
+
+ case WM_PRINTCLIENT:
+ {
+ MenuDrawPopupMenu( Wnd, (HDC)wParam,
+ (HMENU)GetWindowLongPtrW( Wnd, 0 ) );
+ return 0;
}
case WM_ERASEBKGND: