Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains menu bar information.
typedef struct tagMENUBARINFO {
DWORD cbSize;
RECT rcBar;
HMENU hMenu;
HWND hwndMenu;
BOOL fBarFocused : 1;
BOOL fFocused : 1;
BOOL fUnused : 30;
} MENUBARINFO, *PMENUBARINFO, *LPMENUBARINFO;
cbSize
Type: DWORD
The size of the structure, in bytes. The caller must set this to sizeof(MENUBARINFO)
.
rcBar
Type: RECT
The coordinates of the menu bar, popup menu, or menu item.
hMenu
Type: HMENU
A handle to the menu bar or popup menu.
hwndMenu
Type: HWND
A handle to the submenu.
fBarFocused
Type: BOOL
If the menu bar or popup menu has the focus, this member is TRUE. Otherwise, the member is FALSE.
fFocused
Type: BOOL
If the menu item has the focus, this member is TRUE. Otherwise, the member is FALSE.
fUnused
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | winuser.h (include Windows.h) |
Conceptual
Reference