Prev Next You may download all samples in the single ZIP file (set of more than 100 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 Download (Click image to enlarge) 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 Download (Click image to enlarge) Demonstrates how to modify the toolbar and menu at runtime. MenuCustomDraw Download (Click image to enlarge) The owner-draw menu images (icons) are demonstrated in this sample. MenuLogo Download (Click image to enlarge) 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 Download (Click image to enlarge) Demonstrates how to dynamically remove specific menu items and submenus at application startup. OwnerDrawMenu Download (Click image to enlarge) Demonstrates owner-draw menu. The popup menu offers a choice from one of the "line width" items. UserTools Download (Click image to enlarge) Demonstrates the ability to enhance user-defined tools. TrayMenu Download (Click image to enlarge) 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 Download (Click image to enlarge) Demonstrates detachable ("tear-off") menus. MenuQuestionBox Download (Click image to enlarge) This sample demonstrates an MS Office/Visual Studio-like question box placed on the right side of the menu bar.