SHMENUBARINFO
This structure sets members for the SHCreateMenuBar function.
typedef struct tagSHMENUBARINFO {
DWORD cbSize;
HWND hwndParent;
DWORD dwFlags;
UINT nToolBarId;
HINSTANCE hInstRes;
int nBmpId;
int cBmpImages;
HWND hwndMB;
COLORREF clrBk;
} SHMENUBARINFO, *PSHMENUBARINFO;
Members
- cbSize
Size of SHMENUBARINFO structure. - hwndParent
Handle to the window to control the command bar window. - dwFlags
Specifies the properties of the menu bar. The following table shows the possible values for this member.Flag Description SHCMBF_COLORBK Sets the background color value for the menu bar. SHCMBF_EMPTYBAR Creates an empty menu bar. SHCMBF_HIDDEN Creates the menu bar initially hidden. SHCMBF_HIDESIPBUTTON Not supported. SHCMBF_HMENU Specifies an hmenu value for a resource rather than for toolbar information. - nToolBarId
Toolbar identifier used to load the resource from the instance specified by hInstRes. - hInstRes
Instance handle that controls the resources. - nBmpId
Bitmap identifier used to load the bitmap resource for buttons with images from the instance specified by hInstRes*.* - cBmpImages
Number of images in the bitmap referred to by nBmpId*.* - hwndMB
Window handle to the menu bar. - clrBk
Defines the background color of the menu bar, excluding the software input panel (SIP).
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: AYGShell.h.
See Also
AYGShell Structures | SHCreateMenuBar
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.