source: trunk/src/user32/menu.h@ 8266

Last change on this file since 8266 was 6762, checked in by sandervl, 24 years ago

ported the Wine MDI control + some menu fixes

File size: 694 bytes
Line 
1/*
2 * Menu definitions
3 */
4
5#ifndef __WINE_MENU_H
6#define __WINE_MENU_H
7
8#define POPUPMENUCLASSNAME "#32768"
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14HMENU MENU_GetSysMenu(HWND hWnd,HMENU hPopupMenu);
15UINT MENU_GetMenuBarHeight(HWND hWnd,UINT menubarWidth,INT orgX,INT orgY);
16void MENU_TrackMouseMenuBar(HWND hWnd,INT ht,POINT pt);
17void MENU_TrackMouseMenuBar_MouseMove(HWND hwnd,POINT pt,BOOL OnMenu);
18void MENU_TrackKbdMenuBar(HWND hWnd,UINT wParam,INT vkey);
19UINT MENU_DrawMenuBar(HDC hDC,LPRECT lprect,HWND hWnd,BOOL suppress_draw);
20
21BOOL MENU_Init();
22BOOL POPUPMENU_Register();
23BOOL POPUPMENU_Unregister();
24BOOL IsMenuActive(void);
25
26#ifdef __cplusplus
27}
28#endif
29
30#endif /* __WINE_MENU_H */
Note: See TracBrowser for help on using the repository browser.