Click here to Skip to main content
15,894,330 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question about memory locations. Pin
Lord Kixdemp27-Jun-06 8:57
Lord Kixdemp27-Jun-06 8:57 
GeneralRe: Question about memory locations. Pin
Justin Tay27-Jun-06 21:24
Justin Tay27-Jun-06 21:24 
GeneralRe: Question about memory locations. Pin
Lord Kixdemp1-Jul-06 17:00
Lord Kixdemp1-Jul-06 17:00 
QuestionApplication failed to initialize using Detours [modified] Pin
Sam Hobbs24-Jun-06 15:21
Sam Hobbs24-Jun-06 15:21 
QuestionIE Toolbar or BHO Images and Temp Folder Location Pin
Ranjan Banerji24-Jun-06 15:11
Ranjan Banerji24-Jun-06 15:11 
AnswerRe: IE Toolbar or BHO Images and Temp Folder Location Pin
Michael Dunn24-Jun-06 15:29
sitebuilderMichael Dunn24-Jun-06 15:29 
GeneralRe: IE Toolbar or BHO Images and Temp Folder Location Pin
Ranjan Banerji25-Jun-06 5:51
Ranjan Banerji25-Jun-06 5:51 
GeneralRe: IE Toolbar or BHO Images and Temp Folder Location Pin
Michael Dunn25-Jun-06 7:55
sitebuilderMichael Dunn25-Jun-06 7:55 
GeneralRe: IE Toolbar or BHO Images and Temp Folder Location Pin
Ranjan Banerji25-Jun-06 8:01
Ranjan Banerji25-Jun-06 8:01 
QuestionUnhandled Exception when outputting strings [modified] Pin
capricious_00124-Jun-06 12:50
capricious_00124-Jun-06 12:50 
AnswerRe: Unhandled Exception when outputting strings Pin
Michael Dunn24-Jun-06 13:00
sitebuilderMichael Dunn24-Jun-06 13:00 
GeneralRe: Unhandled Exception when outputting strings Pin
capricious_00124-Jun-06 13:16
capricious_00124-Jun-06 13:16 
AnswerRe: Unhandled Exception when outputting strings Pin
Jun Du24-Jun-06 13:22
Jun Du24-Jun-06 13:22 
AnswerRe: Unhandled Exception when outputting strings [modified] Pin
Sam Hobbs24-Jun-06 15:35
Sam Hobbs24-Jun-06 15:35 
AnswerRe: Unhandled Exception when outputting strings Pin
Stephen Hewitt24-Jun-06 17:41
Stephen Hewitt24-Jun-06 17:41 
QuestionRe: Unhandled Exception when outputting strings Pin
capricious_00125-Jun-06 2:10
capricious_00125-Jun-06 2:10 
Questionasp help Pin
khasiguy24-Jun-06 9:42
khasiguy24-Jun-06 9:42 
AnswerRe: asp help Pin
Michael Dunn24-Jun-06 12:29
sitebuilderMichael Dunn24-Jun-06 12:29 
QuestionGet MAC help Pin
borono24-Jun-06 9:42
borono24-Jun-06 9:42 
AnswerRe: Get MAC help Pin
Michael Dunn24-Jun-06 12:32
sitebuilderMichael Dunn24-Jun-06 12:32 
GeneralRe: Get MAC help Pin
borono24-Jun-06 15:00
borono24-Jun-06 15:00 
GeneralRe: Get MAC help Pin
Michael Dunn24-Jun-06 15:32
sitebuilderMichael Dunn24-Jun-06 15:32 
GeneralRe: Get MAC help Pin
borono24-Jun-06 15:54
borono24-Jun-06 15:54 
QuestionBeautify XML Pin
Ed K24-Jun-06 7:33
Ed K24-Jun-06 7:33 
QuestionHELP! * Accurate Text Extent needing * Pin
Furno Gianluca24-Jun-06 7:09
Furno Gianluca24-Jun-06 7:09 
Hi everyone!

I need to compute a *PRECISE AND ACCURATE* BOUNDING rectangle around a text

I tried with several methods with Windows32 API(s)

- GetTextExtentPoint32
- DrawText (with DT_CALCRECT)
- GetCharWidth32 (Obtaining the width of every char of the string)

I'm using MM_ANISOTROPIC mapping into my device context and seems that the X-Extension of the text is always different by the effective text drawned into the device. This happen when the zoom/scale factor is different by 1.0

What i'm doing of wrong?
Please help me
Mad | :mad:

Thank you
Furno Gianluca


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.