Click here to Skip to main content
15,908,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I need to write text on image. Can somebody help me? I try to use static text control, but looks like it not what I should use.

Thanks in advance
Posted

If you have a bitmap, then you need to use the CDC class and write code that draws text. No control is going to do that for you.
 
Share this answer
 
See, for instance, "Drawing lines, shapes, or text on bitmaps" [^] article.
:)
 
Share this answer
 
v3
Thanks a lot for quick response, Christian!!!
Yes, I use bitmap. Do you have example how to write text with CDC class? Sorry if I sound stupid, but I am not a C++ programmer 
 
Share this answer
 
Thanks a LOT CPallini it worked for me!!! :)
 
Share this answer
 

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