mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
80c924f1f4
item refers to a submenu, not the submenu's handle as in win16.
25 lines
832 B
C
25 lines
832 B
C
/*
|
|
* Menu definitions
|
|
*/
|
|
|
|
#ifndef __WINE_MENU_H
|
|
#define __WINE_MENU_H
|
|
|
|
#include "win.h"
|
|
|
|
LRESULT WINAPI PopupMenuWndProc( HWND hwnd, UINT message, WPARAM wParam,
|
|
LPARAM lParam );
|
|
|
|
extern BOOL MENU_Init(void);
|
|
extern HMENU MENU_GetSysMenu(HWND hWndOwner, HMENU hSysPopup);
|
|
extern UINT MENU_GetMenuBarHeight( HWND hwnd, UINT menubarWidth,
|
|
INT orgX, INT orgY );
|
|
extern BOOL MENU_PatchResidentPopup( HQUEUE16, WND* );
|
|
extern void MENU_TrackMouseMenuBar( WND *wnd, INT ht, POINT pt );
|
|
extern void MENU_TrackKbdMenuBar( WND *wnd, UINT wParam, INT vkey );
|
|
extern UINT MENU_DrawMenuBar( HDC hDC, LPRECT lprect,
|
|
HWND hwnd, BOOL suppress_draw );
|
|
extern UINT MENU_FindSubMenu( HMENU *hmenu, HMENU hSubTarget );
|
|
|
|
#endif /* __WINE_MENU_H */
|