![]() |
Ribbon Sample SDI |
Post Reply ![]() |
Author | |
terrym ![]() Senior Member ![]() Joined: 13 April 2007 Status: Offline Points: 836 |
![]() ![]() ![]() ![]() ![]() Posted: 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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |