![]() |
Drawind themed CTabCtrl |
Post Reply
|
| Author | |
kamil
Newbie
Joined: 28 November 2007 Location: United Kingdom Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Topic: Drawind themed CTabCtrlPosted: 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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
kamil
Newbie
Joined: 28 November 2007 Location: United Kingdom Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
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 |