Outlook Bars

The BCGControlBar Library framework
supports Outlook-style shortcut control bars. You can
use these bars to enhance workspace management in your
application.

The shortcuts bar has the following elements:

Caption - displays the currently selected page
name

Page with shortcut buttons or embedded control

Splitter between page and page buttons

Page buttons with a page name and icon on left

Bottom-located toolbar with page small icons and
options menu

The functionality of "outlook" control bars is provided by CBCGPOutlookBar
class. To use this class please perform the following steps:

Add outlook page large icons list to your application resources (the
suggested icon size is 24x24. For example, the resource ID will be
IDB_PAGES.

Add outlook page small icons list (will be displayed on
the bottom-located toolbar) to your application resources (the suggested
icon size is 16x16). For example, the resource ID will be IDB_PAGES_SMALL.

Prepare icons for each shortcut (IDI_SHORTCUT1, IDI_SHORTCUT1, ...).

Add
the following members to your CMainFrame class:

CBCGPOutlookBar m_wndShortcutsBar;

CBCGPOutlookBarPane m_wndShortcutsPane1;

CBCGPOutlookBarPane m_wndShortcutsPane2;

Initialize the shortcuts bar in CMainFrame::OnCreate by the following way: