- [User32] Rein Klazes : Handle MN_GETHMENU in PopupMenuWndProc.

- [PSDK] Add MN_GETHMENU.

svn path=/trunk/; revision=43661
This commit is contained in:
James Tabor 2009-10-21 00:20:00 +00:00
parent 7ed3595ed8
commit 3d8adae467
2 changed files with 3 additions and 0 deletions

View file

@ -1035,6 +1035,7 @@ PopupMenuWndProcA(HWND Wnd, UINT Message, WPARAM wParam, LPARAM lParam)
break;
case MM_GETMENUHANDLE:
case MN_GETHMENU:
return GetWindowLongPtrA(Wnd, 0);
default:
@ -1106,6 +1107,7 @@ PopupMenuWndProcW(HWND Wnd, UINT Message, WPARAM wParam, LPARAM lParam)
break;
case MM_GETMENUHANDLE:
case MN_GETHMENU:
return GetWindowLongPtrW(Wnd, 0);
default:

View file

@ -1712,6 +1712,7 @@ extern "C" {
#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