Lines Matching refs:hMenu
321 #define HANDLE_WM_INITMENU(hwnd,wParam,lParam,fn) ((fn)((hwnd),(HMENU)(wParam)),0L)
322 #define FORWARD_WM_INITMENU(hwnd,hMenu,fn) (void)(fn)((hwnd),WM_INITMENU,(WPARAM)(HMENU)(hMenu),0L)
324 #define HANDLE_WM_INITMENUPOPUP(hwnd,wParam,lParam,fn) ((fn)((hwnd),(HMENU)(wParam),(int)LOWORD(lParam),(WINBOOL)HIWORD(lParam)),0L)
325 #define FORWARD_WM_INITMENUPOPUP(hwnd,hMenu,item,fSystemMenu,fn) (void)(fn)((hwnd),WM_INITMENUPOPUP,(WPARAM)(HMENU)(hMenu),MAKELPARAM((item),(fSystemMenu)))
327 #define HANDLE_WM_MENUSELECT(hwnd,wParam,lParam,fn) ((fn)((hwnd),(HMENU)HIWORD(lParam),(LOWORD(lParam) & MF_POPUP) ? 0 : (int)(wParam),(LOWORD(lParam) & MF_POPUP) ? (HMENU)(wParam) : 0,LOWORD(lParam)),0L)
328 #define FORWARD_WM_MENUSELECT(hwnd,hmenu,item,hmenuPopup,flags,fn) (void)(fn)((hwnd),WM_MENUSELECT,((flags) & MF_POPUP) ? (WPARAM)(HMENU)(hmenuPopup) : (WPARAM)(int)(item),MAKELPARAM((flags),(hmenu)))
330 #define HANDLE_WM_MENUCHAR(hwnd,wParam,lParam,fn) (LRESULT)(DWORD)(fn)((hwnd),(UINT)(wParam),LOWORD(lParam),(HMENU)HIWORD(lParam))
331 #define FORWARD_WM_MENUCHAR(hwnd,ch,flags,hmenu,fn) (DWORD)(fn)((hwnd),WM_MENUCHAR,(WPARAM)(UINT)(ch),MAKELPARAM((flags),(UINT)(hmenu)))
423 #define HANDLE_WM_MDISETMENU(hwnd,wParam,lParam,fn) (LRESULT)(DWORD)(UINT)(fn)((hwnd),(WINBOOL)(wParam),(HMENU)LOWORD(lParam),(HMENU)HIWORD(lParam))
424 #define FORWARD_WM_MDISETMENU(hwnd,fRefresh,hmenuFrame,hmenuWindow,fn) (HMENU)(UINT)(DWORD)(fn)((hwnd),WM_MDISETMENU,(WPARAM)(fRefresh),MAKELPARAM((hmenuFrame),(hmenuWindow)))
705 #define GET_WM_MENUSELECT_HMENU(wp,lp) (HMENU)HIWORD(lp)
706 hmenu) (WPARAM)(cmd),MAKELONG(f,hmenu)
717 #define GET_WM_MENUCHAR_HMENU(wp,lp) (HMENU)LOWORD(lp)
719 #define GET_WM_MENUCHAR_MPS(ch,hmenu,f) (WPARAM)(ch),MAKELONG(hmenu,f)