Click here to Skip to main content
15,884,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All

m trying to add background color for RichEdit box by using below statement:

m_ModuleDescedit.SetBackgroundColor(FALSE,RGB( 255, 255, 205 ));

where "m_ModuleDescedit" is variable assigned to edit box.

Can any suggetst or Help me out..
Posted
Comments
Jochen Arndt 13-Mar-14 9:31am    
This should work when m_ModuleDescedit is of type CRichEditCtrl and is connected to the control (corresponding DDX_Control() function call in the DoDataExchange() function of the dialog).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900