Subclassing tabs and groups |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
Posted: 25 August 2012 at 11:17am |
I really need to subclass the CXTPRibbonTab and CXTPRibbonGroup classes and have the ribbon bar create my tab class and the tab class can create my group class. But I am having to copy a lot of code simply because unlike the ribbon bar, CJ doesn't let me specify the class for a tab and/or group.
And when copying code, all the "protected" members are a big road block that causes me to have to pull in more and more code and classes. All this because of hard coded calls to the new operator when a tab or groups is created in non virtual methods. Has anyone else sub classed the tab and/or groups? If so, what approach did you take? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |