Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - Making the tab item look disabled in CTabCtrl VC6
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Making the tab item look disabled in CTabCtrl VC6

 Post Reply Post Reply
Author
Message
bsil View Drop Down
Groupie
Groupie


Joined: 08 March 2010
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote bsil Quote  Post ReplyReply Direct Link To This Post Topic: Making the tab item look disabled in CTabCtrl VC6
    Posted: 05 April 2010 at 5:28am
Hi all,
 
We have a class derived from TabCtrl (VC 6.0). We have programmatically disabled some of the tabs in this tab  control. The mask of the tab item is set to Image and we load the image from the image list depending on the tab being disabled or enabled.
We have applied skin using Codejock on this tab control. The image that is loaded from the tab control image list does not look good.Hence we were thinking of setting the mask for the tab item as text. However this does not make the disabled tab look disabled.
Is there any way where I can give the disabled look to the disabled tab?
 
We were thinking of disabling the hot tracking dynamically for the tab item which is to be shown disabled or something similar to that.
Any suggestions or guidance in this regard would be helpful.
 
With best regards
 
Product: Xtreme SkinFramework
     Platform: Windows XP (32bit) - SP 2
     Language: Visual Basic 6.0, Visual C++ 6.0, VB.NET 2.0

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.