Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Explorer does not load shell extension.. Pin
Michael Dunn29-May-01 9:38
sitebuilderMichael Dunn29-May-01 9:38 
GeneralRe: Explorer does not load shell extension.. Pin
J Patel29-May-01 9:47
J Patel29-May-01 9:47 
GeneralWebBrowser document Automation capabilities. Pin
Alex Chmakotine29-May-01 8:15
Alex Chmakotine29-May-01 8:15 
GeneralDialog to Doc or Dialog to View update Pin
29-May-01 7:39
suss29-May-01 7:39 
GeneralRe: Dialog to Doc or Dialog to View update Pin
Christian Graus29-May-01 13:16
protectorChristian Graus29-May-01 13:16 
GeneralGetting links in Internet Explorer Pin
Crocmort29-May-01 6:44
Crocmort29-May-01 6:44 
GeneralRe: Getting links in Internet Explorer Pin
Ghazi H. Wadi29-May-01 7:26
Ghazi H. Wadi29-May-01 7:26 
GeneralDDBs, DIBs and printing Pin
Richard Jones29-May-01 6:37
Richard Jones29-May-01 6:37 
I am using the CBitmapDC class to assemble bitmap files into a larger one to print in OnPrint.

Print preview shows the picture ok, but the page is blank (not much of a preview if you ask me). I understand that this is due to CBitmap being a DDB, and I need to convert it to a DIB before printing.

This has me very confused with all the different sample code and classes. It appears to me that I AM using a DIB when I load the BMP (according to docs, BMPs are in DIB format). Somehow, a CBitmap is not the same thing?

Any help getting a CBitmap to print on the printerDC (hDC, whatever) would be beneficial to my sanity.


Rick
GeneralRe: DDBs, DIBs and printing Pin
Chris Losinger29-May-01 6:49
professionalChris Losinger29-May-01 6:49 
GeneralRe: DDBs, DIBs and printing Pin
Christian Graus29-May-01 13:01
protectorChristian Graus29-May-01 13:01 
GeneralIterating Arrays Pin
29-May-01 6:13
suss29-May-01 6:13 
GeneralRe: Iterating Arrays Pin
Michael Dunn29-May-01 9:41
sitebuilderMichael Dunn29-May-01 9:41 
GeneralDriver communicating with a service Pin
DB29-May-01 5:41
DB29-May-01 5:41 
GeneralRe: Driver communicating with a service Pin
Anders Molin29-May-01 9:05
professionalAnders Molin29-May-01 9:05 
GeneralMove the menubar and toolbars permanently in SDI app Pin
29-May-01 5:08
suss29-May-01 5:08 
GeneralWMA File Format Pin
James Spibey29-May-01 4:36
James Spibey29-May-01 4:36 
GeneralRe: WMA File Format Pin
Christian Graus29-May-01 13:03
protectorChristian Graus29-May-01 13:03 
Generalhelp!!! Pin
29-May-01 4:12
suss29-May-01 4:12 
GeneralHandle WM_CHAR in a Dialog Pin
29-May-01 3:55
suss29-May-01 3:55 
GeneralRe: Handle WM_CHAR in a Dialog Pin
Tomasz Sowinski29-May-01 4:01
Tomasz Sowinski29-May-01 4:01 
GeneralRe: Handle WM_CHAR in a Dialog Pin
29-May-01 4:18
suss29-May-01 4:18 
GeneralRe: Handle WM_CHAR in a Dialog Pin
29-May-01 4:20
suss29-May-01 4:20 
GeneralRe: Handle WM_CHAR in a Dialog Pin
Hadi Rezaee29-May-01 16:24
Hadi Rezaee29-May-01 16:24 
GeneralActive X controls in Internet Explorer Pin
Jared Allen29-May-01 3:34
Jared Allen29-May-01 3:34 
GeneralRe: Active X controls in Internet Explorer Pin
Michael Dunn29-May-01 9:43
sitebuilderMichael Dunn29-May-01 9:43 

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.