- New implementation of SendMessage, ReceiveMessage, ReplyMessage functions
[wine] / include / menu.h
1 /*
2  * Menu definitions
3  */
4
5 #ifndef __WINE_MENU_H
6 #define __WINE_MENU_H
7
8 #define MAGIC_REDUCE  3
9 #define MAGIC_RESTORE 2
10 #define MAGIC_CLOSE   5
11
12 extern BOOL32 MENU_Init(void);
13 extern HMENU32 MENU_GetSysMenu(HWND32 hWndOwner, HMENU32 hSysPopup);
14 extern UINT32 MENU_GetMenuBarHeight( HWND32 hwnd, UINT32 menubarWidth,
15                                      INT32 orgX, INT32 orgY );
16 extern BOOL32 MENU_PatchResidentPopup( HQUEUE16, WND* );
17 extern void MENU_TrackMouseMenuBar( WND *wnd, INT32 ht, POINT32 pt );
18 extern void MENU_TrackKbdMenuBar( WND *wnd, UINT32 wParam, INT32 vkey );
19 extern UINT32 MENU_DrawMenuBar( HDC32 hDC, LPRECT32 lprect,
20                                 HWND32 hwnd, BOOL32 suppress_draw );
21
22 #endif /* __WINE_MENU_H */