Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Fun with CPropertySheets/Pages Pin
Maximilien14-Oct-05 8:58
Maximilien14-Oct-05 8:58 
AnswerRe: Fun with CPropertySheets/Pages Pin
Roger Allen14-Oct-05 9:18
Roger Allen14-Oct-05 9:18 
GeneralRe: Fun with CPropertySheets/Pages Pin
Jader8914-Oct-05 10:28
Jader8914-Oct-05 10:28 
GeneralRe: Fun with CPropertySheets/Pages Pin
Maximilien15-Oct-05 9:07
Maximilien15-Oct-05 9:07 
QuestionHow to handle the ENTER key in the parent window... Pin
Ian Bowler14-Oct-05 7:45
Ian Bowler14-Oct-05 7:45 
AnswerRe: How to handle the ENTER key in the parent window... Pin
Mircea Puiu14-Oct-05 21:35
Mircea Puiu14-Oct-05 21:35 
GeneralRe: How to handle the ENTER key in the parent window... Pin
Ian Bowler15-Oct-05 11:22
Ian Bowler15-Oct-05 11:22 
QuestionHow to use ClearType with GDI+ Pin
MikeG200014-Oct-05 7:31
MikeG200014-Oct-05 7:31 
Hi,

I've got a C++ based app that I'm using GDI+ to render with. I'm creating an offscreen graphics object and drawing text into it. Then I later blit that to the screen. However, that text is thicker in the offscreen than normal text onscreen when clear type is on (WinXP). How do I detect if cleartype is turned on?

I found references to GetGraphicsCaps but can't find any documentation on this method and can't use it. I figure I must be missing some SDK.

I assume that if I find that ClearType is on, I should then use Graphics::SetTextRenderingHint with TextRenderingHintClearTypeGridFit to turn it on in my offscreen graphics object.

Can anyone tell me how to tell if ClearType is on?

Thanks,
-Mike
AnswerRe: How to use ClearType with GDI+ Pin
Mircea Puiu14-Oct-05 21:47
Mircea Puiu14-Oct-05 21:47 
QuestionModless Dialog Box Pin
BuckBrown14-Oct-05 7:26
BuckBrown14-Oct-05 7:26 
QuestionRe: Modless Dialog Box Pin
David Crow14-Oct-05 8:26
David Crow14-Oct-05 8:26 
AnswerRe: Modless Dialog Box Pin
BuckBrown14-Oct-05 8:48
BuckBrown14-Oct-05 8:48 
GeneralRe: Modless Dialog Box Pin
Maximilien14-Oct-05 9:04
Maximilien14-Oct-05 9:04 
GeneralRe: Modless Dialog Box Pin
John R. Shaw14-Oct-05 22:26
John R. Shaw14-Oct-05 22:26 
QuestionSetting record mixer properties inside app Pin
billiam90414-Oct-05 6:02
billiam90414-Oct-05 6:02 
QuestionCDHtmlDialog couldn't trap WM_CHAR Pin
Kene14-Oct-05 5:58
Kene14-Oct-05 5:58 
QuestionGet the number of bytes a process has written to disk Pin
Lord Bogy14-Oct-05 5:23
Lord Bogy14-Oct-05 5:23 
AnswerRe: Get the number of bytes a process has written to disk Pin
khan++15-Oct-05 0:06
khan++15-Oct-05 0:06 
QuestionC++ newbie question: how to rotate and read pixels? Pin
Anonymous14-Oct-05 4:05
Anonymous14-Oct-05 4:05 
AnswerRe: C++ newbie question: how to rotate and read pixels? Pin
The NULL Developer14-Oct-05 4:15
professionalThe NULL Developer14-Oct-05 4:15 
GeneralRe: C++ newbie question: how to rotate and read pixels? Pin
Anonymous14-Oct-05 4:47
Anonymous14-Oct-05 4:47 
GeneralRe: C++ newbie question: how to rotate and read pixels? Pin
Chris Losinger14-Oct-05 5:21
professionalChris Losinger14-Oct-05 5:21 
GeneralRe: C++ newbie question: how to rotate and read pixels? Pin
Anonymous14-Oct-05 6:07
Anonymous14-Oct-05 6:07 
GeneralRe: C++ newbie question: how to rotate and read pixels? Pin
Chris Losinger14-Oct-05 7:31
professionalChris Losinger14-Oct-05 7:31 
AnswerRe: C++ newbie question: how to rotate and read pixels? Pin
Ted Ferenc14-Oct-05 6:32
Ted Ferenc14-Oct-05 6:32 

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.