mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
- [User32] Rein Klazes : Handle MN_GETHMENU in PopupMenuWndProc.
- [PSDK] Add MN_GETHMENU. svn path=/trunk/; revision=43661
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user