BCGSuite for MFC
Getting Started

First, please read the following MSDN articles to learn how to use the MFC Feature Pack for Visual Studio 2008: http://msdn.microsoft.com/en-us/library/bb982354.aspx. To begin using the BCGSuite library in your project, you need to make the following changes in your source code (please don't forget to make a backup copy of your source files first):

  • Add BCGSuite directory to INCLUDE path
  • Add the following include to the framework.h (or stdafx.h for the old Visual Studio projects) file:
    Copy
    #include "BCGSuiteInc.h"
  • Add a call to BCGCBProCleanUp() in your application ExitInstance method.
  • Set the application visual style at the beginning of your CMainFrame::OnCreate() (if your source code has a call to CMFCVisualManager::SetDefaultManager, please remove it):
    Copy
    BCGPSetVisualManagerSuite(CBCGPVisualManager::manager);
  • where the manager is: