Print Page | Close Window

Drawind themed CTabCtrl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=11476
Printed Date: 16 November 2024 at 3:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Drawind themed CTabCtrl
Posted By: kamil
Subject: Drawind themed CTabCtrl
Date Posted: 17 July 2008 at 7:01am
I created CTabCtrl and want to show a child dialogs as tab panes. Unfortunately a few skins draw a gradient over tab panes and that gradient is covered by controls on tab panes. I tried to implement my own backround drawing in OnCtlColor() but with no success - there are always some controls ( group box etc ) left which are still drawn incorrectly. Could you help me ? Do you know a solution or could you point me to some sample code  ?
 
Thanks in advance,
Kamil



Replies:
Posted By: Oleg
Date Posted: 17 July 2008 at 12:45pm

Hi,

Only one easy solution to resolve it - use CPropertySheet for parent.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: kamil
Date Posted: 17 July 2008 at 2:05pm

Do you think it would be easy ? I try to avoid this if it is possible - CPropertySheet doesn't work best when used as child window especially in nonstandard scenarios for example I want to create tab pages embedding compound controls, which are build as child dialogs, and still draw the correct background.

 
Kamil



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