Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Drawind themed CTabCtrl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Drawind themed CTabCtrl

 Post Reply Post Reply
Author
Message
kamil View Drop Down
Newbie
Newbie


Joined: 28 November 2007
Location: United Kingdom
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote kamil Quote  Post ReplyReply Direct Link To This Post Topic: Drawind themed CTabCtrl
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
kamil View Drop Down
Newbie
Newbie


Joined: 28 November 2007
Location: United Kingdom
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote kamil Quote  Post ReplyReply Direct Link To This Post 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
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.156 seconds.