Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 157
  • Last Modified:

How to put a picture in a text box.

I would like to put a picture in a text box and then write over it. Is there some way to do this? I would like to also be able to get the DC of this text box so I can do a BitBlt into it. If this is possible then please tell me how. Thanks in advance.
0
testing38
Asked:
testing38
1 Solution
 
mark2150Commented:
Text box doesn't have a picture property so you can't put a picture in it. However you can put *text* in a picture box.

M

0
 
testing38Author Commented:
Is there any other way to do this other than BitBlting the text in there from a nother HDC? If not then I would have to make a .bmp file of all the fonts I want to use. Big job! But it can be done. But if there is another way...
0
 
TheAnswerManCommented:
you can use a picturebox... and have an transparent label in your picturebox for text..
<or array of labels if needed>
0
 
testing38Author Commented:
Thanks a bunch! Here ya go!!! I got it to work just the way you said... Kinda makes you wonder... Why didn't I think of that... Thanks again
0
 
lsanjoseCommented:
use also a usercontrol where the form.picture = picture and inser a label for the text.

l'avantage de ce procede est que vous pouvez utiliser par la suite l' objet  dans d'autres projets.

P.s. Si voius ajoutez deux labels vous pouvez fauire des effets de 3d.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now