Print Page | Close Window

Ribbon Sample SDI

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=12326
Printed Date: 23 June 2025 at 11:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon Sample SDI
Posted By: terrym
Subject: Ribbon Sample SDI
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: terrym
Date 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


Posted By: terrym
Date 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


Posted By: Oleg
Date Posted: 06 October 2008 at 9:12am

Hi,

Check parameters in OnCtlColor method.


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



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