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 |
|
---|
12 | LRESULT WINAPI PopupMenuWndProc( HWND hwnd, UINT message, WPARAM wParam,
|
---|
13 | LPARAM lParam );
|
---|
14 |
|
---|
15 | extern BOOL MENU_Init(void);
|
---|
16 | extern HMENU MENU_GetSysMenu(HWND hWndOwner, HMENU hSysPopup);
|
---|
17 | extern UINT MENU_GetMenuBarHeight( HWND hwnd, UINT menubarWidth,
|
---|
18 | INT orgX, INT orgY );
|
---|
19 | extern BOOL MENU_PatchResidentPopup( HQUEUE, HWND );
|
---|
20 | extern void MENU_TrackMouseMenuBar( HWND hwnd, INT ht, POINT pt );
|
---|
21 | extern void MENU_TrackKbdMenuBar( HWND hwnd, UINT wParam, INT vkey );
|
---|
22 | extern UINT MENU_DrawMenuBar( HDC hDC, LPRECT lprect,
|
---|
23 | HWND hwnd, BOOL suppress_draw );
|
---|
24 | extern UINT MENU_FindSubMenu( HMENU *hmenu, HMENU hSubTarget );
|
---|
25 |
|
---|
26 | BOOL POPUPMENU_Register();
|
---|
27 | BOOL POPUPMENU_Unregister();
|
---|
28 |
|
---|
29 | #endif /* __WINE_MENU_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.