Yet another attempt at fixing CW_USEDEFAULT handling.
[wine.git] / include / menu.h
blob855a897a147604adb49446f776b7e7bf15164a97
1 /*
2 * Menu definitions
3 */
5 #ifndef __WINE_MENU_H
6 #define __WINE_MENU_H
8 #include "windef.h"
10 struct tagWND;
12 LRESULT WINAPI PopupMenuWndProc( HWND hwnd, UINT message, WPARAM wParam,
13 LPARAM lParam );
15 extern BOOL MENU_Init(void);
16 extern BOOL MENU_IsMenuActive(void);
17 extern HMENU MENU_GetSysMenu(HWND hWndOwner, HMENU hSysPopup);
18 extern UINT MENU_GetMenuBarHeight( HWND hwnd, UINT menubarWidth,
19 INT orgX, INT orgY );
20 extern BOOL MENU_PatchResidentPopup( HQUEUE16, struct tagWND* );
21 extern void MENU_TrackMouseMenuBar( struct tagWND *wnd, INT ht, POINT pt );
22 extern void MENU_TrackKbdMenuBar( struct tagWND *wnd, UINT wParam, INT vkey );
23 extern UINT MENU_DrawMenuBar( HDC hDC, LPRECT lprect,
24 HWND hwnd, BOOL suppress_draw );
25 extern UINT MENU_FindSubMenu( HMENU *hmenu, HMENU hSubTarget );
27 #endif /* __WINE_MENU_H */