Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Change background color of CXTPControlEdit?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change background color of CXTPControlEdit?

 Post Reply Post Reply
Author
Message
calvi View Drop Down
Groupie
Groupie


Joined: 20 March 2004
Location: United Kingdom
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote calvi Quote  Post ReplyReply Direct Link To This Post Topic: Change background color of CXTPControlEdit?
    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.
Back to Top
calvi View Drop Down
Groupie
Groupie


Joined: 20 March 2004
Location: United Kingdom
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote calvi Quote  Post ReplyReply Direct Link To This Post 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.
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.047 seconds.