Disable a tab item in CXTPTabCtrl |
Post Reply |
Author | |
yoavo
Senior Member Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Posted: 03 October 2011 at 9:09am |
Hi,
I need to disable a tab item (draw it disabled) of CXTPTabCtrl. Previously, on version 13.1, I did it by creating a custom theme (derived from CXTPTabBaseTheme) and override DrawTabText method. The connection between the control and the custom theme was made by "SetTheme" method (which recieved a CXTThemeManagerStyle* , a base class of CXTPTabBaseTheme).
Now, I have upgraded to version 15.1.3, and I can not do what I did before. The SetTheme method (of the tab control) does not have a signiture that recieve a CXTPTabBaseTheme* (or its base class).
My question is how can I set a custome theme to the tab control (handle the DrawTabText method) in version 15.1.3 ? (or is there a different way to disable a tab item).
thanks,
Yoav.
|
|
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 |