mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
7851394159
- drawing/alignment fixes, win98 style for menubar - ownerdrawn menus are working now for the first time - complete constants magic items - use right owner for popupmenus - new: Get/SetMenuInfo - implemented: Get/SetMenuContextHelpId - more flags for Get/SetMenuItemInfo
20 lines
644 B
C
20 lines
644 B
C
/*
|
|
* Menu definitions
|
|
*/
|
|
|
|
#ifndef __WINE_MENU_H
|
|
#define __WINE_MENU_H
|
|
|
|
#include "win.h"
|
|
|
|
extern BOOL MENU_Init(void);
|
|
extern HMENU MENU_GetSysMenu(HWND hWndOwner, HMENU hSysPopup);
|
|
extern UINT MENU_GetMenuBarHeight( HWND hwnd, UINT menubarWidth,
|
|
INT orgX, INT orgY );
|
|
extern BOOL MENU_PatchResidentPopup( HQUEUE16, WND* );
|
|
extern void MENU_TrackMouseMenuBar( WND *wnd, INT ht, POINT pt );
|
|
extern void MENU_TrackKbdMenuBar( WND *wnd, UINT wParam, INT vkey );
|
|
extern UINT MENU_DrawMenuBar( HDC hDC, LPRECT lprect,
|
|
HWND hwnd, BOOL suppress_draw );
|
|
|
|
#endif /* __WINE_MENU_H */
|