News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

How to change text and background color?

Started by Ar0n, January 19, 2015, 01:44:25 PM

Previous topic - Next topic

Ar0n

Hello MASM32! I would like to know which is the correct way to change the text and background color of a richedit control, I'm using "RICHEDIT50W" class. any help many thanks guys.

dedndave

there was a thread on that subject a few weeks ago   :t

Ar0n

ok can you post it please, I did not find :P


jj2007

EM_SETBKGNDCOLOR if you want to change the control's general background,
EM_SETCHARFORMAT for individual paras (CFM_BACKCOLOR, CFM_COLOR)

The source for TinyIDE contains usage examples.