I want to change the font of the richedit control in my win32 program to Consolas. When i try to do the following:
CHARFORMAT2 cformat;
cformat.dwMask = CFM_FACE;
cformat.cbSize = sizeof(cformat);
cformat.szFaceName = "Consolas";
On the last line it says that
Expression must be modifiable value
What is the problem here?
Regards,
Devjeet