![]() |
Ribbon Sample SDI |
Post Reply
|
| Author | |
terrym
Senior Member
Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Quote Reply
Topic: Ribbon Sample SDIPosted: 03 October 2008 at 12:25pm |
|
We have added a Dockable Pane like in Ribbon Sample SDI to our application and have some static text and edit controls, however these are not themed :( to the selected theme. Eg. in your sample code you have m_btnMyButton.SetTheme(...) however what do we use for static and edit controls in place of CXTPButton etc.
Thank you for any help as it is much appreciated.
|
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 October 2008 at 1:17am |
|
Hi,
There is no special class for Edit :( If you just need change background catch WM_CTLCLOLOR like CPaneStyles oin our sample.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
terrym
Senior Member
Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 October 2008 at 5:50am |
|
Hi
We actually want the themed background colour like in your sample as we used this sample as the basis for adding this functionality to our project. However behind the CEdit control we want the white colour???
What is best way to do this please :(
Do you have example
Thanks
|
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
![]() |
|
terrym
Senior Member
Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 October 2008 at 6:00am |
|
Is there another edit class we could use to get this functionality ??? eg. Syntax Edit
|
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 October 2008 at 9:12am |
|
Hi, Check parameters in OnCtlColor method.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |