BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 BCGControlBar Pro for MFC Forums
 BCGControlBar Professional Edition
 Themes and subclassed controls
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

bruces

13 Posts

Posted - 06/17/2021 :  3:40:26 PM  Show Profile  Reply with Quote
To enable themes, it looks like EnableVisualManagerStyle() is used. This function subclasses all hosted controls so that each control can be properly themed. If this is correct, what is the proper way to apply a theme to a control where we already have the control subclassed? We pass a list of previously subclassed controls to EnableVisualManagerStyle() to prevent BCG from subclassing the control and causing an exception for subclassing twice. But by doing this, the control will not have a theme applied. How do we apply a theme to controls that we subclass?

bsos

Support

4187 Posts

Posted - 06/17/2021 :  4:42:28 PM  Show Profile  Visit Support's Homepage  Reply with Quote
> to prevent BCG from subclassing the control and causing an exception for subclassing twice

This is incorrect: we are never susbclassing controls that alredy subclassed.

Please open a new support ticket (http://support.bcgsoft.com/) and attach your sample where we can see the problem.

BCGSoft Technical Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
BCGSoft Forums © Copyright (c) 1998-2022 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000