Skip Navigation LinksBCGSoft > Menu samples

Menu Samples

You may download all samples in the single ZIP file (set of more than 130 sample applications).

This page contains ZIP files with executables only. You can find the source code of these applications in the Examples and Samples folders under the product installation directory (if you don't have the retail product version, please download the product evaluation).

This section illustrates how to take advantage of the customizable menu bar and demonstrates various menu-related features.

PopupMenuBar

In this sample, the application's menu bar is displayed in auto-hide mode. Initially, the menu bar is invisible, and a user can show it by pressing the Alt key. When the menu command is executed or the user clicks outside the bar, the menu bar returns back to its invisible state. In addition, the menu bar can be pinned on top of the application frame..

DynamicMenu

Demonstrates how to modify the toolbar and menu at runtime.

MenuCustomDraw

The owner-draw menu images (icons) are demonstrated in this sample.

MenuLogo

Illustrates how to enable and draw a menu logo." The menu logo is a vertical section located on the left side of the menu bar, where developers can draw text and images, as well as fill this section with a solid color or gradient. In addition, this sample demonstrates how to add a custom image (e.g., company or product logo) to the right side of the menu bar.

MenuSubSet

Demonstrates how to dynamically remove specific menu items and submenus at application startup.

OwnerDrawMenu

Demonstrates owner-draw menu. The popup menu offers a choice from one of the "line width" items.

UserTools

Demonstrates the ability to enhance user-defined tools.

TrayMenu

This sample demonstrates how to utilize the library-based popup menus (that support visual themes and left-side icons) in conjunction with system tray icons.

TearOffMenu

Demonstrates detachable ("tear-off") menus.

MenuQuestionBox

This sample demonstrates an MS Office/Visual Studio-like question box placed on the right side of the menu bar.