Click here to Skip to main content
16,005,080 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bit Masking Pin
Nitron4-Feb-03 4:20
Nitron4-Feb-03 4:20 
GeneralRe: Bit Masking Pin
Brian Delahunty4-Feb-03 6:26
Brian Delahunty4-Feb-03 6:26 
GeneralRe: Bit Masking Pin
Nitron4-Feb-03 6:34
Nitron4-Feb-03 6:34 
GeneralRe: Bit Masking Pin
Alvaro Mendez4-Feb-03 4:15
Alvaro Mendez4-Feb-03 4:15 
General* THANKS * Pin
Nitron4-Feb-03 4:22
Nitron4-Feb-03 4:22 
GeneralCDC::GetTextExtent() and CWnd::GetClientRect() Pin
Martyn Pearson4-Feb-03 3:36
Martyn Pearson4-Feb-03 3:36 
GeneralRe: CDC::GetTextExtent() and CWnd::GetClientRect() Pin
Alvaro Mendez4-Feb-03 3:57
Alvaro Mendez4-Feb-03 3:57 
GeneralRe: CDC::GetTextExtent() and CWnd::GetClientRect() Pin
Roger Allen4-Feb-03 3:58
Roger Allen4-Feb-03 3:58 
When you call GetDC() you get a DC with a default font in it. This will (most probably) not be the font being used by the edit control. You need to use that font when measuring your text. Check the result of a call to CEdit::GetFont().

Roger Allen
Sonork 100.10016

WHats brown and sticky?
A stick or some smelly stuff!

GeneralRe: CDC::GetTextExtent() and CWnd::GetClientRect() Pin
Martyn Pearson4-Feb-03 4:30
Martyn Pearson4-Feb-03 4:30 
GeneralPopup window does not pop Pin
Mitchellj4-Feb-03 3:21
Mitchellj4-Feb-03 3:21 
GeneralRe: Popup window does not pop Pin
Abbas_Riazi4-Feb-03 3:24
professionalAbbas_Riazi4-Feb-03 3:24 
Generalmigrate a program to other OS Pin
includeh104-Feb-03 3:08
includeh104-Feb-03 3:08 
GeneralRe: migrate a program to other OS Pin
jhwurmbach4-Feb-03 3:26
jhwurmbach4-Feb-03 3:26 
GeneralRe: migrate a program to other OS Pin
Abbas_Riazi4-Feb-03 3:30
professionalAbbas_Riazi4-Feb-03 3:30 
GeneralRe: migrate a program to other OS Pin
includeh104-Feb-03 4:02
includeh104-Feb-03 4:02 
GeneralRe: migrate a program to other OS Pin
Abbas_Riazi4-Feb-03 6:18
professionalAbbas_Riazi4-Feb-03 6:18 
QuestionDo "Print Screen" images have a file name? Pin
WREY4-Feb-03 3:02
WREY4-Feb-03 3:02 
AnswerRe: Do "Print Screen" images have a file name? Pin
Nitron4-Feb-03 3:33
Nitron4-Feb-03 3:33 
GeneralRe: Do "Print Screen" images have a file name? Pin
Abbas_Riazi4-Feb-03 3:39
professionalAbbas_Riazi4-Feb-03 3:39 
GeneralRe: Do "Print Screen" images have a file name? Pin
Rickard Andersson204-Feb-03 4:47
Rickard Andersson204-Feb-03 4:47 
AnswerRe: Do "Print Screen" images have a file name? Pin
cramezul4-Feb-03 3:53
cramezul4-Feb-03 3:53 
GeneralSending customized messages to parent window Pin
Abin4-Feb-03 3:04
Abin4-Feb-03 3:04 
GeneralRe: Sending customized messages to parent window Pin
HENDRIK R4-Feb-03 3:14
HENDRIK R4-Feb-03 3:14 
GeneralYes, YES Pin
Abin4-Feb-03 3:34
Abin4-Feb-03 3:34 
GeneralRe: Yes, YES Pin
Roger Allen4-Feb-03 4:01
Roger Allen4-Feb-03 4:01 

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.