Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralUTF-8, UTF-16 Pin
Peter Molnar28-Jan-03 0:58
Peter Molnar28-Jan-03 0:58 
GeneralRe: UTF-8, UTF-16 Pin
Mike Nordell28-Jan-03 1:26
Mike Nordell28-Jan-03 1:26 
GeneralListBox on skinned window Pin
Ceri28-Jan-03 0:34
Ceri28-Jan-03 0:34 
Generalconvert a bmp to DIB and print it. Pin
*Tom*28-Jan-03 0:21
*Tom*28-Jan-03 0:21 
GeneralRe: convert a bmp to DIB and print it. Pin
Mike Nordell28-Jan-03 1:42
Mike Nordell28-Jan-03 1:42 
GeneralRe: convert a bmp to DIB and print it. Pin
Roger Allen28-Jan-03 2:55
Roger Allen28-Jan-03 2:55 
GeneralRe: convert a bmp to DIB and print it. Pin
Roger Allen28-Jan-03 3:01
Roger Allen28-Jan-03 3:01 
GeneralRe: convert a bmp to DIB and print it. Pin
*Tom*29-Jan-03 0:36
*Tom*29-Jan-03 0:36 
Thanks a lot Roger!! Smile | :)
A have tested the code and with a minor adjustment I got it to work, I changed the line: hDib = ImageToDIB(&bitmap, iImage, this); to hDib = DDBToDIB(bitmap, BI_RGB,NULL);. One problem is that I don´t think the printer shows the picture in it´s correct size. If I open the picture in a paint program it says that the picture is 2cm wide but on the paper is only about 0,5cm. I have sent the application to a testperson who also will test the printing, and i´m waiting for his comment.

Thanks one more time Rose | [Rose] Wink | ;)

-Tom
GeneralRenaming a Propertysheet Pin
Rage27-Jan-03 23:47
professionalRage27-Jan-03 23:47 
GeneralRe: Renaming a Propertysheet Pin
HENDRIK R28-Jan-03 1:05
HENDRIK R28-Jan-03 1:05 
GeneralRe: Renaming a Propertysheet Pin
Rage28-Jan-03 1:55
professionalRage28-Jan-03 1:55 
GeneralRe: Renaming a Propertysheet Pin
Debs28-Jan-03 3:13
Debs28-Jan-03 3:13 
GeneralRe: Renaming a Propertysheet Pin
Rage28-Jan-03 20:49
professionalRage28-Jan-03 20:49 
GeneralRe: Renaming a Propertysheet Pin
Peter Molnar28-Jan-03 1:49
Peter Molnar28-Jan-03 1:49 
GeneralRe: Renaming a Propertysheet Pin
Rage28-Jan-03 1:56
professionalRage28-Jan-03 1:56 
GeneralRe: Renaming a Propertysheet Pin
KaЯl28-Jan-03 2:45
KaЯl28-Jan-03 2:45 
GeneralOLE documents / items (MFC) Pin
-Dy27-Jan-03 23:45
-Dy27-Jan-03 23:45 
GeneralURGENT:How to write XML header in C++ Pin
tearz27-Jan-03 23:08
tearz27-Jan-03 23:08 
GeneralRe: URGENT:How to write XML header in C++ Pin
Rage27-Jan-03 23:40
professionalRage27-Jan-03 23:40 
GeneralRe: URGENT:How to write XML header in C++ Pin
Mike Nordell28-Jan-03 2:01
Mike Nordell28-Jan-03 2:01 
GeneralRe: URGENT:How to write XML header in C++ Pin
chepuri_uk28-Jan-03 20:02
chepuri_uk28-Jan-03 20:02 
GeneralURGENT:How to write XML header in C++ Pin
tearz27-Jan-03 23:02
tearz27-Jan-03 23:02 
GeneralWM_DEVICECHANGE and MFC Dialog app Pin
Ceri27-Jan-03 23:02
Ceri27-Jan-03 23:02 
QuestionWhat's the MFC-way to lay out controls in a View ? Pin
JohnMcL27-Jan-03 22:37
JohnMcL27-Jan-03 22:37 
AnswerRe: What's the MFC-way to lay out controls in a View ? Pin
Joaquín M López Muñoz27-Jan-03 23:02
Joaquín M López Muñoz27-Jan-03 23:02 

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.