Print Page | Close Window

Change background color of CXTPControlEdit?

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=14177
Printed Date: 22 June 2025 at 11:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change background color of CXTPControlEdit?
Posted By: calvi
Subject: Change background color of CXTPControlEdit?
Date Posted: 29 April 2009 at 2:09pm
Is it possible to change the background color of CXTPControlEdit?  It seems to be implemented with a rich edit control, but the only access to it is via its GetEditCtrl() member, which returns a CEdit.

Thanks.



Replies:
Posted By: calvi
Date Posted: 29 April 2009 at 4:35pm
I've now done it by calling GetEditCtrl()->SendMessage(EM_SETBKGNDCOLOR, ...), but that's not very elegant.  Perhaps you could treat this as an enhancement request.



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