Top level windows with 0 width or height are created with a size of 1x1 in
[wine] / include / menu.h
1 /*
2  * Menu definitions
3  */
4
5 #ifndef __WINE_MENU_H
6 #define __WINE_MENU_H
7
8 #include "windef.h"
9
10 struct tagWND;
11
12 LRESULT WINAPI PopupMenuWndProc( HWND hwnd, UINT message, WPARAM wParam,
13                                  LPARAM lParam );
14
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 );
26
27 #endif /* __WINE_MENU_H */