Click here to Skip to main content
15,924,036 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNewbie Needs Some Advice on Keyboard Input Pin
7-Aug-01 22:22
suss7-Aug-01 22:22 
GeneralRe: Newbie Needs Some Advice on Keyboard Input Pin
8-Aug-01 2:27
suss8-Aug-01 2:27 
QuestionHow to catch Winsock message by using WSAAsyncSelect() Pin
tomm_mmx7-Aug-01 22:08
tomm_mmx7-Aug-01 22:08 
GeneralI need a function that return the date&time . Please Help ! Pin
7-Aug-01 21:46
suss7-Aug-01 21:46 
GeneralRe: I need a function that return the date&time . Please Help ! Pin
8-Aug-01 0:36
suss8-Aug-01 0:36 
GeneralThank you ! please detail more ! Pin
8-Aug-01 21:21
suss8-Aug-01 21:21 
GeneralRe: Thank you ! please detail more ! Pin
Christian Graus8-Aug-01 21:29
protectorChristian Graus8-Aug-01 21:29 
GeneralPrinting Question Pin
Michael Martin7-Aug-01 21:05
professionalMichael Martin7-Aug-01 21:05 
I have gotten much further in my quest to print from a Dialog based app. The following code enables me to determine the height of the font I have selected. When I print text then move down by the height of the font the second line prints over the top of the lower part of lowercase charactersie. the dangly bit of the g.

LOGFONT* pLogFont = new LOGFONT;
pLogFont->lfHeight = -MulDiv (lfFontSize, dc.GetDeviceCaps (LOGPIXELSY), 72);


How can I determine the height including dangly bits of a given font.



Michael Martin
Pegasystems Pty Ltd
Australia
martm@pegasystems.com
+61 413-004-018
GeneralRe: Printing Question Pin
Tomasz Sowinski8-Aug-01 1:09
Tomasz Sowinski8-Aug-01 1:09 
GeneralRe: Printing Question Pin
Michael Martin8-Aug-01 1:44
professionalMichael Martin8-Aug-01 1:44 
GeneralRe: Printing Question Pin
Derek Lakin8-Aug-01 1:54
Derek Lakin8-Aug-01 1:54 
GeneralRe: Printing Question Pin
Tomasz Sowinski8-Aug-01 1:59
Tomasz Sowinski8-Aug-01 1:59 
GeneralMemory leak Pin
7-Aug-01 20:59
suss7-Aug-01 20:59 
GeneralRe: Memory leak Pin
Miroslav Rajcic7-Aug-01 21:10
Miroslav Rajcic7-Aug-01 21:10 
GeneralRe: Memory leak Pin
8-Aug-01 10:58
suss8-Aug-01 10:58 
GeneralRegistry & ODBC Pin
7-Aug-01 20:43
suss7-Aug-01 20:43 
GeneralRe: Registry & ODBC Pin
l a u r e n8-Aug-01 8:03
l a u r e n8-Aug-01 8:03 
Questionweird, i dun get if()? Pin
7-Aug-01 20:25
suss7-Aug-01 20:25 
AnswerSh*t where did the includes go? oh must the html tags right? Pin
7-Aug-01 20:29
suss7-Aug-01 20:29 
AnswerSh*t where did the includes go? oh must be the html tags right? Pin
7-Aug-01 20:31
suss7-Aug-01 20:31 
AnswerRe: weird, i dun get if()? Pin
Michael Dunn7-Aug-01 20:50
sitebuilderMichael Dunn7-Aug-01 20:50 
Generalnope Pin
7-Aug-01 20:53
suss7-Aug-01 20:53 
GeneralRe: nope Pin
Miroslav Rajcic7-Aug-01 21:02
Miroslav Rajcic7-Aug-01 21:02 
GeneralRe: nope Pin
7-Aug-01 21:03
suss7-Aug-01 21:03 
AnswerRe: weird, i dun get if()? Pin
Dean Goodman8-Aug-01 6:24
Dean Goodman8-Aug-01 6:24 

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.