Click here to Skip to main content
15,907,497 members

Comments by Tanveer Asim (Top 25 by date)

Tanveer Asim 1-Dec-14 3:08am View    
After i found that one image is loading then i opened my images in Paint and saved as 24bit Bitmap, now they are loading in LoadImage. And i am able to print using StretchBlt as you demonstrated in your example. Thanks for help.
Tanveer Asim 1-Dec-14 3:06am View    
After i found that one image is loading then i opened my images in Paint and saved as 24bit Bitmap, now they are loading in LoadImage. And i am able to print using StretchBlt
Tanveer Asim 27-Nov-14 1:32am View    
@Jochen i tried different images and one of them is loaded and if i open and save my image as 24 bit image then it is loaded in ImageLoad as well.i will try with rest of code now.
Tanveer Asim 27-Nov-14 1:30am View    
@enhzflep even with this code i was facing same problem of loading image. As you and @Jochen mentioned i downloaded different images from internet and tried them. One of them was loaded in ImageLoad, later on i opened my image in paint and saved it as 24bit bmp and it is loaded as well. Now i will try to print. Thanks for your help
Tanveer Asim 25-Nov-14 15:07pm View    
Initially i started with same concept to accomplish task with CDC but all knowledge base article examples that i found about CDC they were working with GUI and somewhere i read as well that if you have to work with print dialogues and gui then CDC is utilized and if you have to create context manually then HDC is is the option. I don't know how correct it is.