Author: jimtabor
Date: Wed Oct 21 02:20:00 2009
New Revision: 43661
URL:
http://svn.reactos.org/svn/reactos?rev=43661&view=rev
Log:
- [User32] Rein Klazes : Handle MN_GETHMENU in PopupMenuWndProc.
- [PSDK] Add MN_GETHMENU.
Modified:
trunk/reactos/dll/win32/user32/windows/menu.c
trunk/reactos/include/psdk/winuser.h
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] Wed Oct 21 02:20:00 2009
@@ -1035,6 +1035,7 @@
break;
case MM_GETMENUHANDLE:
+ case MN_GETHMENU:
return GetWindowLongPtrA(Wnd, 0);
default:
@@ -1106,6 +1107,7 @@
break;
case MM_GETMENUHANDLE:
+ case MN_GETHMENU:
return GetWindowLongPtrW(Wnd, 0);
default:
Modified: trunk/reactos/include/psdk/winuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winuser.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/winuser.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/winuser.h [iso-8859-1] Wed Oct 21 02:20:00 2009
@@ -1712,6 +1712,7 @@
#define WM_CTLCOLORDLG 310
#define WM_CTLCOLORSCROLLBAR 311
#define WM_CTLCOLORSTATIC 312
+#define MN_GETHMENU 481
#define WM_MOUSEFIRST 512
#define WM_MOUSEMOVE 512
#define WM_LBUTTONDOWN 513