Hi All,
I want to drawing a textstring onto screen. suppose string is "you are the best". string is drawing properly but i want to color "are" as a white and remaining text is black. so tell me how i will do it.
regards
Neeraj
Hi All,
I want to drawing a textstring onto screen. suppose string is "you are the best". string is drawing properly but i want to color "are" as a white and remaining text is black. so tell me how i will do it.
regards
Neeraj
write it in sections, and change the text color between writings. Also you can use the functions provided by the CFont to determine how much each text section takes pixels..
try using :
CWindowsGc::SetPenColor()
and then draw your text
again set the pen color and draw text..likewise for all the words in your sentence.