Pocket PC-style Menu Bars

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

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.