Pocket PC-style Menu Bars (Windows CE 5.0)
The AYGShell API extensions provide support for Pocket PC-style menu bars, which can be used instead of command bars and command bands. Menu bars are implemented in a way that combines the functionality of a toolbar and a menu. Place menu items appearing on the menu bar on the left-most portion of the bar. Tool buttons, both standard and application-specific, must appear to the right of the menus in the menu bar.
You can create a menu bar by calling the SHCreateMenuBar function. You can alter a menu bar programmatically by sending it any existing toolbar message, as well as the SHCMBM_GETSUBMENU and SHCMBM_SETSUBMENU messages.
See Also
AYGShell API Extensions | AYGShell Reference
Send Feedback on this topic to the authors