Click here to Skip to main content
15,917,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Unlimited Socket receive Pin
18-Apr-02 23:07
suss18-Apr-02 23:07 
GeneralRe: Unlimited Socket receive Pin
Jon Hulatt18-Apr-02 23:33
Jon Hulatt18-Apr-02 23:33 
GeneralRe: Unlimited Socket receive Pin
19-Apr-02 3:38
suss19-Apr-02 3:38 
GeneralRe: Unlimited Socket receive Pin
Albert Pascual19-Apr-02 6:49
sitebuilderAlbert Pascual19-Apr-02 6:49 
GeneralC/C++ compiler Pin
NicholasCougar18-Apr-02 19:43
NicholasCougar18-Apr-02 19:43 
GeneralRe: C/C++ compiler Pin
Ravi Bhavnani18-Apr-02 20:17
professionalRavi Bhavnani18-Apr-02 20:17 
GeneralRe: C/C++ compiler Pin
Michael P Butler18-Apr-02 22:14
Michael P Butler18-Apr-02 22:14 
QuestionTextExtent??? Pin
Manikandan18-Apr-02 18:03
Manikandan18-Apr-02 18:03 
I try to measure the dimension for a text say "Hello".
I set mapping mode to MM_LOENGLISH.

CFont font;
font.CreatePointFont(360,"Verdana");
pDC->SelectObject(&font);
CSize sz = pDC->GetTextExtent("Hello");

the width sz.cx (1.19 inch) seems ok in real printing. But sz.cy (0.57inch) is greater than the actual (0.344inch) in printout. Can anyone tell me how to calculate the real height???


AnswerRe: TextExtent??? Pin
Paul M Watt18-Apr-02 18:09
mentorPaul M Watt18-Apr-02 18:09 
AnswerRe: TextExtent??? Pin
l a u r e n18-Apr-02 21:01
l a u r e n18-Apr-02 21:01 
GeneraltimeSetEvent Pin
Marcus Spitzmiller18-Apr-02 17:17
Marcus Spitzmiller18-Apr-02 17:17 
GeneralRe: Cool PE (.exe, .dll, .ocx) file resource tool Pin
Christian Graus18-Apr-02 16:51
protectorChristian Graus18-Apr-02 16:51 
QuestionHow to convert to twips...? Pin
Sprudling18-Apr-02 16:22
Sprudling18-Apr-02 16:22 
AnswerRe: How to converting to twips...? Pin
Michael Dunn18-Apr-02 17:04
sitebuilderMichael Dunn18-Apr-02 17:04 
GeneralRe: How to converting to twips...? Pin
Sprudling19-Apr-02 5:15
Sprudling19-Apr-02 5:15 
AnswerMay be this one help you... Pin
Manikandan18-Apr-02 18:07
Manikandan18-Apr-02 18:07 
AnswerRe: How to convert to twips...? Pin
l a u r e n18-Apr-02 21:04
l a u r e n18-Apr-02 21:04 
GeneralAligning text in CRichEditCtrl Pin
Sprudling18-Apr-02 15:43
Sprudling18-Apr-02 15:43 
GeneralRe: Aligning text in CRichEditCtrl Pin
Niklas L18-Apr-02 22:32
Niklas L18-Apr-02 22:32 
GeneralRe: Aligning text in CRichEditCtrl Pin
18-Apr-02 22:59
suss18-Apr-02 22:59 
GeneralRe: Aligning text in CRichEditCtrl Pin
Sprudling19-Apr-02 5:19
Sprudling19-Apr-02 5:19 
GeneralRe: Aligning text in CRichEditCtrl Pin
Sprudling19-Apr-02 5:21
Sprudling19-Apr-02 5:21 
GeneralRe: Aligning text in CRichEditCtrl Pin
Niklas L23-Apr-02 23:36
Niklas L23-Apr-02 23:36 
GeneralRe: Aligning text in CRichEditCtrl Pin
Niklas L23-Apr-02 23:40
Niklas L23-Apr-02 23:40 
Generalattach resource to Win32 Application console project Pin
NicholasCougar18-Apr-02 15:12
NicholasCougar18-Apr-02 15:12 

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.