MENUBARINFO structure
Contains menu bar information.
Syntax
typedef struct tagMENUBARINFO { DWORD cbSize; RECT rcBar; HMENU hMenu; HWND hwndMenu; BOOL fBarFocused; BOOL fFocused; } MENUBARINFO, *PMENUBARINFO;
Members
- 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.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
- Reference
- GetMenuBarInfo
- RECT
- Conceptual
- Menus