BCGSoft > Samples

Toolbar Samples

This section contains a set of samples illustrating various Toolbar - related features.
 
ExplorerBarDemo   Win32



(Click image to enlarge)
 


The sample demonstrates explorer toolbar usage: simple and image-based navigation buttons, embedded breadcrumb bar and various navigation button layouts..
PaletteDemo   Win32



(Click image to enlarge)
 


The sample illustrates how to create a multicolumn toolbar with owner draw information area. The number of columns can be changed programmatically. The toolbar can be docked only at the left, or right edge of the main frame window.
Slider   Win32



(Click image to enlarge)
 


The sample illustrates how to put a custom (external) control an a toolbar. It demonstrates the following features:
  • change control size and location in customization mode
  • ability to drag and drop control
  • context synchronization between different copies of control
TabbedToolbar   Win32



(Click image to enlarge)
 


The sample demonstrates how to create and use the Tabbed Toolbar feature. Tabbed toolbar is a control bar, which contains several toolbars grouped together in a tabbed window.
ToolbarDateTimePicker   Win32



(Click image to enlarge)
 


The sample demonstrates how to take advantage of the DateTime Picker control and place it on a toolbar.
ToolbarEditBox   Win32



(Click image to enlarge)
 


The sample demonstrates how to put an edit box and edit box with a spin control on a toolbar.
ToolbarImages   Win32



(Click image to enlarge)
 


The sample illustrates usage of CBCGPToolbarImages class. This class is a kind of image list and all toolbars in the library display images taken from image lists. In this sample you can see how to create image lists with different toolbar effects (disabled and shadow images) and alpha-blending effects. Also it illustrates how to add images dynamically at runtime.
ToolbarLabel   Win32



(Click image to enlarge)
 


The sample illustrates how to put a static text label and image label on a toolbar.
UndoBox   Win32



(Click image to enlarge)
 


The sample illustrates how to create an MS Office-style "Undo" button and put it on a toolbar.
DropDownToolbarDemo   Win32



(Click image to enlarge)
 


The sample illustrates how to create toolbar button with dropped-down menu box.