Print Page | Close Window

Making the tab item look disabled in CTabCtrl VC6

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=16554
Printed Date: 19 April 2024 at 8:53pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Making the tab item look disabled in CTabCtrl VC6
Posted By: bsil
Subject: Making the tab item look disabled in CTabCtrl VC6
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net