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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help required in printing bitmap

Status
Not open for further replies.

mythili

Programmer
Jul 15, 2002
9
US
hi,
I already posted this query but without any response.so I am reposting it.
I have used a picture control in a dialog box which displays a bitmap stored in .res file.On click of a button i want to print the bitmap.Can anyone suggest me possible way to do it.
 
Hi

I don't know if using a dialog box is an absolute must for you.
If not, I would advise you to use the CPicture class available hare (
I just write a sample app to test it in a CView-base simple application and within 5 minutes, I got the required result: the JPG in the resource was printed !!!!

I used a JPG as generally their size is smaller than bmp

HTH

Thierry

EMail: Thierry.Marneffe@skynet.be
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top