Click here to Skip to main content
15,911,139 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HELP with a C++ project Pin
Maxwell Chen16-Feb-09 15:50
Maxwell Chen16-Feb-09 15:50 
Question(modeless?)dialog in sdi Pin
cmos16-Feb-09 11:07
cmos16-Feb-09 11:07 
AnswerRe: (modeless?)dialog in sdi Pin
frx9616-Feb-09 15:02
frx9616-Feb-09 15:02 
GeneralRe: (modeless?)dialog in sdi Pin
frx9616-Feb-09 15:05
frx9616-Feb-09 15:05 
AnswerRe: (modeless?)dialog in sdi Pin
frx9616-Feb-09 15:08
frx9616-Feb-09 15:08 
QuestionReplacing or Changing open/save file dialog for winXP and vista Pin
Gilvinit16-Feb-09 9:31
Gilvinit16-Feb-09 9:31 
AnswerRe: Replacing or Changing open/save file dialog for winXP and vista Pin
David Crow16-Feb-09 9:47
David Crow16-Feb-09 9:47 
QuestionPrinting using GDI Pin
Steve_16-Feb-09 8:59
Steve_16-Feb-09 8:59 
Hello,

We would like to print some simple drawing output using GDI. We have used the PrintDlgEx function to obtain a device context handle to a printer, but are unsure of how to proceed. We have not been able to find much example code and are a little stuck.

Basically, we have the DC handle. Presumably we then call Rectangle(x,x,x,x) etc to do the painting. What must be done then to initiate the actual printing?

Any help would be appreciated.


Thanks,

Steve
AnswerRe: Printing using GDI Pin
Code-o-mat16-Feb-09 10:31
Code-o-mat16-Feb-09 10:31 
GeneralRe: Printing using GDI Pin
Steve_16-Feb-09 10:40
Steve_16-Feb-09 10:40 
AnswerRe: Printing using GDI Pin
frx9616-Feb-09 14:33
frx9616-Feb-09 14:33 
AnswerRe: Printing using GDI Pin
frx9616-Feb-09 14:33
frx9616-Feb-09 14:33 
AnswerRe: Printing using GDI Pin
frx9616-Feb-09 14:36
frx9616-Feb-09 14:36 
AnswerRe: Printing using GDI Pin
«_Superman_»16-Feb-09 18:16
professional«_Superman_»16-Feb-09 18:16 
AnswerRe: Printing using GDI Pin
Iain Clarke, Warrior Programmer18-Feb-09 1:52
Iain Clarke, Warrior Programmer18-Feb-09 1:52 
QuestionHow to compile a native (ie. using NT API instead of Win32) x64 app ? Pin
Defenestration16-Feb-09 7:50
Defenestration16-Feb-09 7:50 
AnswerRe: How to compile a native (ie. using NT API instead of Win32) x64 app ? Pin
Richard Andrew x6416-Feb-09 16:30
professionalRichard Andrew x6416-Feb-09 16:30 
AnswerRe: How to compile a native (ie. using NT API instead of Win32) x64 app ? Pin
«_Superman_»16-Feb-09 18:19
professional«_Superman_»16-Feb-09 18:19 
QuestionProblem with dll... Pin
Member Ártemis16-Feb-09 5:28
Member Ártemis16-Feb-09 5:28 
AnswerRe: Problem with dll... Pin
Taran916-Feb-09 6:03
Taran916-Feb-09 6:03 
GeneralRe: Problem with dll... Pin
Member Ártemis16-Feb-09 7:09
Member Ártemis16-Feb-09 7:09 
AnswerRe: Problem with dll... Pin
CPallini16-Feb-09 6:52
mveCPallini16-Feb-09 6:52 
GeneralRe: Problem with dll... Pin
Member Ártemis16-Feb-09 7:18
Member Ártemis16-Feb-09 7:18 
GeneralRe: Problem with dll... Pin
CPallini16-Feb-09 7:38
mveCPallini16-Feb-09 7:38 
GeneralRe: Problem with dll... Pin
regnwald16-Feb-09 18:44
regnwald16-Feb-09 18:44 

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.