source: trunk/include/win/menu.h@ 2268

Last change on this file since 2268 was 2268, checked in by cbratschi, 26 years ago

* empty log message *

File size: 926 bytes
Line 
1/*
2 * Menu definitions
3 */
4
5#ifndef __WINE_MENU_H
6#define __WINE_MENU_H
7
8#include "win.h"
9
10#define POPUPMENUCLASSNAME "#32768"
11
12LRESULT WINAPI PopupMenuWndProc( HWND hwnd, UINT message, WPARAM wParam,
13 LPARAM lParam );
14
15extern BOOL MENU_Init(void);
16extern HMENU MENU_GetSysMenu(HWND hWndOwner, HMENU hSysPopup);
17extern UINT MENU_GetMenuBarHeight( HWND hwnd, UINT menubarWidth,
18 INT orgX, INT orgY );
19extern BOOL MENU_PatchResidentPopup( HQUEUE, HWND );
20extern void MENU_TrackMouseMenuBar( HWND hwnd, INT ht, POINT pt );
21extern void MENU_TrackKbdMenuBar( HWND hwnd, UINT wParam, INT vkey );
22extern UINT MENU_DrawMenuBar( HDC hDC, LPRECT lprect,
23 HWND hwnd, BOOL suppress_draw );
24extern UINT MENU_FindSubMenu( HMENU *hmenu, HMENU hSubTarget );
25
26BOOL POPUPMENU_Register();
27BOOL POPUPMENU_Unregister();
28
29#endif /* __WINE_MENU_H */
Note: See TracBrowser for help on using the repository browser.