Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFont colour

Status
Not open for further replies.

shetlandbob

Programmer
Mar 9, 2004
528
GB
Hi I have a text which is updated in a static text control.

I set the font using:

textcontrol->SetFont( &font, true );

How do I set the font to be a different colour (ideally set using RGB(r,g,b) format?

Cheers
 
also if you just want to make the current font bold for example, but not change anything else, is there an easy way of doing this?

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top