Click here to Skip to main content
15,921,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ERROR_PATH_NOT_FOUND error Pin
Stephen Hewitt7-Feb-08 12:34
Stephen Hewitt7-Feb-08 12:34 
QuestionPrinting to a printer onto a form Pin
Henri7-Feb-08 3:07
Henri7-Feb-08 3:07 
GeneralRe: Printing to a printer onto a form Pin
Matthew Faithfull7-Feb-08 3:26
Matthew Faithfull7-Feb-08 3:26 
GeneralRe: Printing to a printer onto a form Pin
Mark Salsbery7-Feb-08 5:54
Mark Salsbery7-Feb-08 5:54 
QuestionRe: Printing to a printer onto a form Pin
Henri7-Feb-08 8:17
Henri7-Feb-08 8:17 
GeneralRe: Printing to a printer onto a form Pin
Mark Salsbery7-Feb-08 8:49
Mark Salsbery7-Feb-08 8:49 
QuestionRe: Printing to a printer onto a form Pin
Henri10-Feb-08 3:20
Henri10-Feb-08 3:20 
GeneralRe: Printing to a printer onto a form Pin
Mark Salsbery10-Feb-08 9:10
Mark Salsbery10-Feb-08 9:10 
Do GetDeviceCaps(LOGPIXELSX) and GetDeviceCaps(LOGPIXELSY) give you the same values?

Also, instead of printing text to test this, draw lines or solid blocks.
Your "x" text is immediately going to add some "margin" above the "x"
since it's not a capital letter. Of course, there's more font metrics involved
than just the height. Drawing graphics will give you a much better idea what
you're working with.

What type of printer is it?

Also, check out Matthew Faithfull's comments in his reply above.

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Printing to a printer onto a form Pin
bob169727-Feb-08 7:05
bob169727-Feb-08 7:05 
GeneralSizing my dialog Pin
Sabry19057-Feb-08 1:02
Sabry19057-Feb-08 1:02 
QuestionRe: Sizing my dialog Pin
CPallini7-Feb-08 1:40
mveCPallini7-Feb-08 1:40 
GeneralRe: Sizing my dialog Pin
Iain Clarke, Warrior Programmer7-Feb-08 2:17
Iain Clarke, Warrior Programmer7-Feb-08 2:17 
GeneralRe: Sizing my dialog Pin
CPallini7-Feb-08 8:07
mveCPallini7-Feb-08 8:07 
GeneralRe: Sizing my dialog Pin
Schehaider_Aymen11-Apr-08 23:19
Schehaider_Aymen11-Apr-08 23:19 
QuestionRe: Sizing my dialog Pin
David Crow7-Feb-08 2:24
David Crow7-Feb-08 2:24 
GeneralRe: Sizing my dialog Pin
Hamid_RT10-Feb-08 21:45
Hamid_RT10-Feb-08 21:45 
GeneralPlaying audio file within a windows service Pin
MarcoNedwig7-Feb-08 0:23
MarcoNedwig7-Feb-08 0:23 
GeneralRe: Playing audio file within a windows service Pin
Iain Clarke, Warrior Programmer7-Feb-08 0:36
Iain Clarke, Warrior Programmer7-Feb-08 0:36 
GeneralRe: Playing audio file within a windows service Pin
David Crow7-Feb-08 2:25
David Crow7-Feb-08 2:25 
GeneralRe: Playing audio file within a windows service Pin
MarcoNedwig7-Feb-08 3:06
MarcoNedwig7-Feb-08 3:06 
Questionwhat is the standard way to give file name in FtpOpenFile() [modified] Pin
vptech197-Feb-08 0:18
vptech197-Feb-08 0:18 
QuestionRe: what is the standard way to give file name in FtpOpenFile() Pin
David Crow7-Feb-08 2:28
David Crow7-Feb-08 2:28 
General[Message Deleted] Pin
vptech197-Feb-08 3:25
vptech197-Feb-08 3:25 
QuestionRe: what is the standard way to give file name in FtpOpenFile() Pin
David Crow7-Feb-08 3:33
David Crow7-Feb-08 3:33 
GeneralRe: what is the standard way to give file name in FtpOpenFile() Pin
vptech197-Feb-08 4:25
vptech197-Feb-08 4:25 

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.