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

C / C++ / MFC

 
GeneralRe: MFC's message map, no need of &? Pin
Albert Holguin31-Aug-11 8:16
professionalAlbert Holguin31-Aug-11 8:16 
QuestionGetCharABCWidthsFloat returns different values on XP, Vista and Windows 7 Pin
transoft25-Aug-11 11:12
transoft25-Aug-11 11:12 
AnswerRe: GetCharABCWidthsFloat returns different values on XP, Vista and Windows 7 Pin
Code-o-mat25-Aug-11 23:52
Code-o-mat25-Aug-11 23:52 
GeneralRe: GetCharABCWidthsFloat returns different values on XP, Vista and Windows 7 Pin
transoft26-Aug-11 2:47
transoft26-Aug-11 2:47 
GeneralRe: GetCharABCWidthsFloat returns different values on XP, Vista and Windows 7 Pin
transoft26-Aug-11 2:50
transoft26-Aug-11 2:50 
GeneralRe: GetCharABCWidthsFloat returns different values on XP, Vista and Windows 7 Pin
Code-o-mat26-Aug-11 3:03
Code-o-mat26-Aug-11 3:03 
GeneralRe: GetCharABCWidthsFloat returns different values on XP, Vista and Windows 7 Pin
transoft26-Aug-11 4:16
transoft26-Aug-11 4:16 
QuestionRe: GetCharABCWidthsFloat returns different values on XP, Vista and Windows 7 Pin
MicroVirus26-Aug-11 6:00
MicroVirus26-Aug-11 6:00 
First off, I agree with Code-o-mat. Actually the function isn't the problem here. It does exactly what it is supposed to do, namely (from MSDN): "[..] retrieves the widths, in logical units, of consecutive characters in a specified range from the current font."

Now this value logically varies with different fonts, but also with different settings and different draw APIs.

So what exactly is the problem you are having? You only say that you think the function is supposed to work differently. What do you think it should do then? That's where your problem lies: the function and what you are expecting of it are not in tandem.
AnswerRe: GetCharABCWidthsFloat returns different values on XP, Vista and Windows 7 Pin
transoft26-Aug-11 6:11
transoft26-Aug-11 6:11 
GeneralRe: GetCharABCWidthsFloat returns different values on XP, Vista and Windows 7 Pin
jeron126-Aug-11 7:48
jeron126-Aug-11 7:48 
GeneralRe: GetCharABCWidthsFloat returns different values on XP, Vista and Windows 7 Pin
transoft26-Aug-11 8:00
transoft26-Aug-11 8:00 
AnswerRe: GetCharABCWidthsFloat returns different values on XP, Vista and Windows 7 Pin
Charles Oppermann26-Aug-11 10:35
Charles Oppermann26-Aug-11 10:35 
GeneralRe: GetCharABCWidthsFloat returns different values on XP, Vista and Windows 7 Pin
enhzflep26-Aug-11 15:52
enhzflep26-Aug-11 15:52 
GeneralRe: GetCharABCWidthsFloat returns different values on XP, Vista and Windows 7 Pin
transoft26-Aug-11 16:51
transoft26-Aug-11 16:51 
QuestionUsing MFC to Host a WebBrowser Control Pin
geofftop25-Aug-11 3:10
geofftop25-Aug-11 3:10 
Questionhow compiler differentiates inline virtual function? [modified] Pin
yogish29325-Aug-11 2:57
yogish29325-Aug-11 2:57 
AnswerRe: how compiler differentiates inline virtual function? Pin
CPallini25-Aug-11 3:27
mveCPallini25-Aug-11 3:27 
GeneralRe: how compiler differentiates inline virtual function? Pin
Niklas L25-Aug-11 21:36
Niklas L25-Aug-11 21:36 
GeneralRe: how compiler differentiates inline virtual function? Pin
CPallini25-Aug-11 21:50
mveCPallini25-Aug-11 21:50 
GeneralRe: how compiler differentiates inline virtual function? Pin
Stefan_Lang25-Aug-11 22:31
Stefan_Lang25-Aug-11 22:31 
AnswerRe: how compiler differentiates inline virtual function? Pin
Stefan_Lang25-Aug-11 3:34
Stefan_Lang25-Aug-11 3:34 
QuestionHow to get attachment filename without download attachment file? Pin
R_K25-Aug-11 2:39
R_K25-Aug-11 2:39 
QuestionRe: How to get attachment filename without download attachment file? Pin
MicroVirus25-Aug-11 2:41
MicroVirus25-Aug-11 2:41 
AnswerRe: How to get attachment filename without download attachment file? Pin
R_K25-Aug-11 5:24
R_K25-Aug-11 5:24 
GeneralRe: How to get attachment filename without download attachment file? Pin
enhzflep25-Aug-11 6:43
enhzflep25-Aug-11 6:43 

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.