Click here to Skip to main content
15,887,135 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionIdle Process under XP SP2! wrong pid? or a feature? Pin
xball17-Aug-07 13:19
xball17-Aug-07 13:19 
AnswerRe: Idle Process under XP SP2! wrong pid? or a feature? Pin
George L. Jackson18-Aug-07 7:24
George L. Jackson18-Aug-07 7:24 
QuestionTCL and C++ codings Pin
ucharista17-Aug-07 8:32
ucharista17-Aug-07 8:32 
Questionhow the music files are being handled in a game Pin
saraswathy14316-Aug-07 17:33
saraswathy14316-Aug-07 17:33 
AnswerRe: how the music files are being handled in a game Pin
Mark Salsbery17-Aug-07 5:34
Mark Salsbery17-Aug-07 5:34 
QuestionAssembly probing Pin
KrunalC15-Aug-07 16:47
KrunalC15-Aug-07 16:47 
AnswerRe: Assembly probing Pin
George L. Jackson16-Aug-07 0:14
George L. Jackson16-Aug-07 0:14 
QuestionPrinting with GDI+ Pin
BuckBrown15-Aug-07 11:59
BuckBrown15-Aug-07 11:59 
Hi, I'm using Visual Studio 2005 C++/CLI. I have some text and graphics that I both need to display and print. For the Form1 object I used 'graphics = this->CreateGraphics();' in the Form1 constructor and then used graphics->DrawString('aCharacter', drawFont, blackBrush, x_coord, y_coord) in various functions to output text characters onto the screen so that the information fits perfectly on the screen. What I have been reading about the GDI+ is that it was designed to insulate the programmer from a lot of the printer details by using the printer drivers. When I try to print or use print preview the graphics is scaled too large. Simply using 'e->Graphics->PageScale::set((float)0.85);' will get it to fit on the printed page but things (characters) are squished together. I figured out how to obtain the Font Metrics but they are read only. I have tried changing the printDocument1->DefaultPageSettings->PrinterResolution->X (and Y) with no effect. Tried changing margins too. Spending way too much time (20 hours so far) trying to figure this out. Any information that will point me in the right direction would be helpful.

Thanks,

Buck
AnswerRe: Printing with GDI+ Pin
Luc Pattyn15-Aug-07 12:10
sitebuilderLuc Pattyn15-Aug-07 12:10 
GeneralRe: Printing with GDI+ Pin
BuckBrown16-Aug-07 9:35
BuckBrown16-Aug-07 9:35 
GeneralRe: Printing with GDI+ Pin
Luc Pattyn16-Aug-07 10:41
sitebuilderLuc Pattyn16-Aug-07 10:41 
GeneralRe: Printing with GDI+ Pin
BuckBrown16-Aug-07 9:43
BuckBrown16-Aug-07 9:43 
GeneralRe: Printing with GDI+ Pin
Luc Pattyn16-Aug-07 10:34
sitebuilderLuc Pattyn16-Aug-07 10:34 
GeneralRe: Printing with GDI+ Pin
BuckBrown16-Aug-07 11:17
BuckBrown16-Aug-07 11:17 
GeneralRe: Printing with GDI+ Pin
Luc Pattyn16-Aug-07 11:24
sitebuilderLuc Pattyn16-Aug-07 11:24 
GeneralRe: Printing with GDI+ Pin
BuckBrown16-Aug-07 12:27
BuckBrown16-Aug-07 12:27 
GeneralRe: Printing with GDI+ Pin
Luc Pattyn16-Aug-07 12:50
sitebuilderLuc Pattyn16-Aug-07 12:50 
GeneralRe: Printing with GDI+ Pin
BuckBrown20-Aug-07 6:26
BuckBrown20-Aug-07 6:26 
GeneralRe: Printing with GDI+ Pin
BuckBrown20-Aug-07 6:42
BuckBrown20-Aug-07 6:42 
GeneralRe: Printing with GDI+ Pin
Luc Pattyn20-Aug-07 13:12
sitebuilderLuc Pattyn20-Aug-07 13:12 
GeneralRe: Printing with GDI+ Pin
Luc Pattyn16-Aug-07 11:41
sitebuilderLuc Pattyn16-Aug-07 11:41 
QuestionHeapAlloc Pin
miah alom15-Aug-07 11:13
miah alom15-Aug-07 11:13 
AnswerRe: HeapAlloc Pin
Luc Pattyn15-Aug-07 11:23
sitebuilderLuc Pattyn15-Aug-07 11:23 
GeneralRe: HeapAlloc Pin
Mark Salsbery15-Aug-07 11:26
Mark Salsbery15-Aug-07 11:26 
GeneralRe: HeapAlloc Pin
miah alom15-Aug-07 11:50
miah alom15-Aug-07 11:50 

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.