Bcgcontrolbar Professional Edition is an extension library of MFC. You can build a library similar to Microsoft Office 2000/XP/2003/2007/2010, Microsoft Visual Studio (print, custom toolbar, menu, and so on) and advanced user interfaces of some other well-known products.
First download bcgcontrolbar V12 resources from the Internet
After decompression, there is a bcgcbprointegrationwizard.exe in the folder.
). As shown in, go to the next step. Completed:
The following describes how to use the Wizard to generate a BCG project. This experiment passes through vs2008sp1. As shown in:
About how to use office2007 and 2010 styles:
If you use these new styles, you must include these resources in the project. Otherwise, an error will be reported when the debug version is started (resources are missing and the release version is not prompted, but the display is abnormal ), there are two methods:
1. Right-click solution Resource Manager> resource file, select Add> existing items, and set C: all extensions in/program files/bcgsoft/bcgcontrolbarpro/bcgcbpro/styles are. RC resources can be included.
2. Right-click "resource view"-"Your project" and select "resource include". In "resource include", "# include" bcgcbpro "in" compile-time instruction. add the following code after RC:
# Include "C:/program files/bcgsoft/bcgcontrolbarpro/bcgcbpro/styles/bcgpstyle2007aqua. RC"
# Include "C:/program files/bcgsoft/bcgcontrolbarpro/bcgcbpro/styles/bcgpstyle2007luna. RC"
# Include "C:/program files/bcgsoft/bcgcontrolbarpro/bcgcbpro/styles/bcgpstyle2007obsidian. RC"
# Include "C:/program files/bcgsoft/bcgcontrolbarpro/bcgcbpro/styles/bcgpstyle2007silver. RC"
# Include "C:/program files/bcgsoft/bcgcontrolbarpro/bcgcbpro/styles/bcgpstyle2010white. RC"
# Include "C:/program files/bcgsoft/bcgcontrolbarpro/bcgcbpro/styles/bcgpstylecarbon. RC"
# Include "C:/program files/bcgsoft/bcgcontrolbarpro/bcgcbpro/styles/bcgpstylescenic. RC"
3. If you use the dynamic library link, manually compile C:/program files/bcgsoft/bcgcontrolbarpro/bcgcbpro/styles/office2007_styles.sln or build_all.dsp
The running effect is as follows: