BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Fully implemented BCGSuite (MFC)
Fully implemented BCGControlBar (Microsoft .NET)

Visualization manager

Visualization manager provides the functionality, that allows you to control look and feel of an application. It centralizes the drawing code for the most important GUI elements, such as toolbars, buttons, grippers and menus. User can switch between different screen themes at runtime. To create your own visualization manager, you need to create a new class derived from CBCGPVisualManager and implement the required drawing methods:
  • Ability to create and change at run-time application skins
  • Ability to implement your own skin
  • Ability to switch between default and custom visual managers
The following visualization menagers are built-in:
  • CBCGPVisualManager: Office 2000/VC++ 6.0 look
  • CBCGPVisualManagerXP: Office XP/VS.NET look
  • CBCGPVisualManager2003: Office 2003 look
  • CBCGPVisualManagerVS2005: VS 2005 look
  • CBCGPWinXPVisualManager: native Windows look
  • CBCGPVisualManager2007: Office 2007 look
  • CBCGPVisualManagerVS2008: VS 2008 look
  • CBCGPVisualManagerVS2010: VS 2010 look
  • CBCGPVisualManager2010: Office 2010 look
  • CBCGPVisualManagerCarbon:  "Carbon" look
  • CBCGPVisualManagerVS2012: VS 2012 look
  • CBCGPVisualManagerVS2013: VS 2013/2015 look
  • CBCGPVisualManager2013: Office 2013 look
  • CBCGPVisualManager2016: Office 2016 look
Sample code:
class CMyManager : public CBCGVisualManager 
        virtual void OnDrawBarGripper (CDC* pDC,  CRect rectGripper, 
                BOOL bHorz,  CControlBar* pBar);
void CMyManager::OnDrawBarGripper (CDC* pDC,  CRect rectGripper, BOOL bHorz, CControlBar* pBar)
        // TODO: draw bar gripper
// Activate visual manager:
CBCGVisualManager::SetDefaultManager (RUNTIME_CLASS (CMyManager));
Prev  Next