Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMemory address differences with MSVC and g++/MinGW Pin
Samjiman19-May-08 11:10
Samjiman19-May-08 11:10 
QuestionRe: Memory address differences with MSVC and g++/MinGW Pin
Maximilien19-May-08 16:13
Maximilien19-May-08 16:13 
GeneralRe: Memory address differences with MSVC and g++/MinGW Pin
Samjiman19-May-08 23:52
Samjiman19-May-08 23:52 
QuestionRe: Memory address differences with MSVC and g++/MinGW Pin
CPallini19-May-08 22:18
mveCPallini19-May-08 22:18 
GeneralRe: Memory address differences with MSVC and g++/MinGW Pin
Samjiman19-May-08 23:54
Samjiman19-May-08 23:54 
QuestionHow to find out Frame Rate and Video Length [modified] Pin
80Eddy19-May-08 10:46
80Eddy19-May-08 10:46 
QuestionSetScrollSizes is cauing pinch. Pin
adityarao3119-May-08 6:16
adityarao3119-May-08 6:16 
AnswerRe: SetScrollSizes is cauing pinch. [modified] Pin
Nelek19-May-08 7:51
protectorNelek19-May-08 7:51 
I think the problem is that the size of the font (vertical points) is not matching the vertical real size in pixels. I mean: a font 8 is not 8 pixels height.

Edit:
Just make a test. Declare a Font of 8 or 10 or 12 (whatever you want), then make a TextOut at (10,50) and another at (10, 50 + Font size) you will see that doesn't match)

So the thing is that you should calculate aprox the coeficient you need for a line in pixels of MM_TEXT

Greetings.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

modified on Monday, May 19, 2008 1:57 PM

GeneralRe: SetScrollSizes is cauing pinch. Pin
adityarao3119-May-08 8:15
adityarao3119-May-08 8:15 
QuestionAbout the path Pin
capint19-May-08 5:08
capint19-May-08 5:08 
AnswerRe: About the path Pin
toxcct19-May-08 5:12
toxcct19-May-08 5:12 
GeneralRe: About the path Pin
capint19-May-08 5:30
capint19-May-08 5:30 
GeneralRe: About the path [modified] Pin
toxcct19-May-08 5:34
toxcct19-May-08 5:34 
QuestionHaven't ever heard about escape sequences? Pin
CPallini19-May-08 5:46
mveCPallini19-May-08 5:46 
GeneralRe: About the path Pin
David Crow19-May-08 6:06
David Crow19-May-08 6:06 
JokeRe: About the path Pin
CPallini19-May-08 7:19
mveCPallini19-May-08 7:19 
GeneralRe: About the path Pin
Rajesh R Subramanian19-May-08 20:50
professionalRajesh R Subramanian19-May-08 20:50 
GeneralRe: About the path Pin
CPallini19-May-08 21:55
mveCPallini19-May-08 21:55 
AnswerRe: About the path Pin
sashoalm19-May-08 5:56
sashoalm19-May-08 5:56 
GeneralRe: About the path Pin
capint19-May-08 6:07
capint19-May-08 6:07 
GeneralRe: About the path Pin
David Crow19-May-08 6:09
David Crow19-May-08 6:09 
GeneralRe: About the path Pin
capint19-May-08 6:13
capint19-May-08 6:13 
GeneralRe: About the path Pin
David Crow19-May-08 6:14
David Crow19-May-08 6:14 
GeneralRe: About the path Pin
capint19-May-08 6:18
capint19-May-08 6:18 
QuestionRe: About the path Pin
David Crow19-May-08 6:29
David Crow19-May-08 6:29 

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.