Objective Toolkit : Chapter 11 Shortcut Bar
Chapter 11 Shortcut Bar
Overview
The Objective Toolkit Shortcut Bar closely resembles the Microsoft Outlook Bar™. You can use it as a container class to embed any CWnd-derived objects. Because the shortcut bar is a CWnd-derived class, you can embed it anywhere. For example, you could easily embed it in a docking window, in a pane of a splitter window, or even in the entire client area of the frame window.
The shortcut bar is a variant of the tab window. However, instead of displaying tabs, it displays horizontal bars that are stacked vertically. The window representing the currently activated bar is displayed directly beneath the bar. Instead of instantly tabbing to the selected window, the process of displaying a window when a bar is selected is animated.
Figure 96 – Shortcut Bar Displaying a List of Icons
The following figure is of a shortcut bar that holds a tab control that, in turn, holds a tree control. The shortcut bar is held by a docking window.
Figure 97 – Example Shortcut Bar with an Embedded Window