Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to draw a bitmap from the memory. Pin
paul_071-Dec-04 13:50
paul_071-Dec-04 13:50 
GeneralRe: How to draw a bitmap from the memory. Pin
rw1042-Dec-04 2:59
rw1042-Dec-04 2:59 
GeneralOverlay window Pin
Vivi Chellappa30-Nov-04 15:02
professionalVivi Chellappa30-Nov-04 15:02 
GeneralBitmap print problem Pin
lisoft30-Nov-04 14:10
lisoft30-Nov-04 14:10 
GeneralRe: Bitmap print problem Pin
Christian Graus30-Nov-04 14:42
protectorChristian Graus30-Nov-04 14:42 
GeneralRe: Bitmap print problem Pin
lisoft30-Nov-04 15:03
lisoft30-Nov-04 15:03 
GeneralRe: Bitmap print problem Pin
Yulianto.30-Nov-04 19:40
Yulianto.30-Nov-04 19:40 
GeneralRe: Bitmap print problem Pin
rw1041-Dec-04 2:04
rw1041-Dec-04 2:04 
I expect that the bitmap is tiny on the print out? is this what is happening?

if so it is because you are drawing the bitmap into a printing device context, in which case a much higher resolution is used, you need to use the CDC function
StretchBlt() to draw the bitmap into a resolution equivalent rectangle which you will need to work out. So look up StretchBlt()on MSDN its is very simple.!! this
function simply stretches the bits in the bitmap accordingly.

Print preview probably works because it uses a screen DC just like what you are drawing on.

P.S. I hope this is the problem you are getting, if not soz!!

Big Grin | :-D
GeneralRe: Bitmap print problem Pin
rw1041-Dec-04 2:12
rw1041-Dec-04 2:12 
GeneralRe: Bitmap print problem Pin
lisoft1-Dec-04 14:13
lisoft1-Dec-04 14:13 
Generalproblem with WNetAddConnection2 and WNetCancelConnection2!! Pin
venadder30-Nov-04 11:44
venadder30-Nov-04 11:44 
GeneralRe: problem with WNetAddConnection2 and WNetCancelConnection2!! Pin
hillclymr1-Dec-04 5:09
hillclymr1-Dec-04 5:09 
Generalstring problem! ahh Pin
Anonymous30-Nov-04 11:22
Anonymous30-Nov-04 11:22 
GeneralRe: string problem! ahh Pin
PJ Arends30-Nov-04 12:29
professionalPJ Arends30-Nov-04 12:29 
GeneralIsolate value and perform arithmetic [C++] Pin
Shaitan0030-Nov-04 10:43
Shaitan0030-Nov-04 10:43 
GeneralRe: Isolate value and perform arithmetic [C++] Pin
PJ Arends30-Nov-04 11:10
professionalPJ Arends30-Nov-04 11:10 
GeneralRe: Isolate value and perform arithmetic [C++] Pin
Joaquín M López Muñoz30-Nov-04 11:12
Joaquín M López Muñoz30-Nov-04 11:12 
GeneralRe: Isolate value and perform arithmetic [C++] Pin
Shaitan003-Dec-04 11:03
Shaitan003-Dec-04 11:03 
GeneralPrinting Landscape mode Pin
Anonymous30-Nov-04 9:53
Anonymous30-Nov-04 9:53 
GeneralRe: Printing Landscape mode Pin
PJ Arends30-Nov-04 11:22
professionalPJ Arends30-Nov-04 11:22 
GeneralRe: Printing Landscape mode Pin
Anonymous30-Nov-04 11:37
Anonymous30-Nov-04 11:37 
GeneralRe: Printing Landscape mode Pin
PJ Arends30-Nov-04 12:21
professionalPJ Arends30-Nov-04 12:21 
GeneralRe: Printing Landscape mode Pin
Anonymous30-Nov-04 12:42
Anonymous30-Nov-04 12:42 
GeneralRe: Printing Landscape mode Pin
PJ Arends30-Nov-04 12:55
professionalPJ Arends30-Nov-04 12:55 
GeneralRe: Printing Landscape mode Pin
Anonymous30-Nov-04 15:01
Anonymous30-Nov-04 15:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.