Click here to Skip to main content
15,878,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDisplaying as much text as possible PinPopular
Code-o-mat17-Nov-10 5:15
Code-o-mat17-Nov-10 5:15 
AnswerRe: Displaying as much text as possible Pin
Peter_in_278017-Nov-10 19:07
professionalPeter_in_278017-Nov-10 19:07 
GeneralRe: Displaying as much text as possible Pin
Code-o-mat17-Nov-10 22:05
Code-o-mat17-Nov-10 22:05 
AnswerRe: Displaying as much text as possible Pin
Richard MacCutchan18-Nov-10 1:28
mveRichard MacCutchan18-Nov-10 1:28 
AnswerRe: Displaying as much text as possible Pin
Luc Pattyn18-Nov-10 1:56
sitebuilderLuc Pattyn18-Nov-10 1:56 
GeneralRe: Displaying as much text as possible Pin
Code-o-mat18-Nov-10 2:00
Code-o-mat18-Nov-10 2:00 
Questionboost ::asio:async_read_until usage/question from a newbie boost user Pin
Alan Kurlansky17-Nov-10 3:17
Alan Kurlansky17-Nov-10 3:17 
Questionfont size Pin
john563217-Nov-10 2:33
john563217-Nov-10 2:33 
Hi,

I have owner draw button control and setfont to 20. But I am getting font height using GetTextMetrics() but I am not getting 20 anywhere, I am getting 16 each time.

HDC dc= ::GetDC(this->m_hWnd);
TEXTMETRIC tm;
::GetTextMetrics(dc,&tm);

AnswerRe: font size Pin
Richard MacCutchan17-Nov-10 2:46
mveRichard MacCutchan17-Nov-10 2:46 
GeneralRe: font size Pin
john563217-Nov-10 2:52
john563217-Nov-10 2:52 
QuestionRe: font size Pin
David Crow17-Nov-10 3:11
David Crow17-Nov-10 3:11 
AnswerRe: font size [modified] Pin
Richard MacCutchan17-Nov-10 9:06
mveRichard MacCutchan17-Nov-10 9:06 
QuestionPlease tell me whats wrong with function? Pin
Le@rner17-Nov-10 0:42
Le@rner17-Nov-10 0:42 
AnswerRe: Please tell me whats wrong with function? Pin
Stephen Hewitt17-Nov-10 0:55
Stephen Hewitt17-Nov-10 0:55 
AnswerRe: Please tell me whats wrong with function? PinPopular
Cedric Moonen17-Nov-10 0:57
Cedric Moonen17-Nov-10 0:57 
GeneralRe: Please tell me whats wrong with function? Pin
Le@rner17-Nov-10 1:00
Le@rner17-Nov-10 1:00 
GeneralRe: Please tell me whats wrong with function? Pin
Cedric Moonen17-Nov-10 1:06
Cedric Moonen17-Nov-10 1:06 
QuestionRe: Please tell me whats wrong with function? Pin
CPallini17-Nov-10 1:21
mveCPallini17-Nov-10 1:21 
JokeRe: Please tell me whats wrong with function? Pin
Code-o-mat17-Nov-10 2:08
Code-o-mat17-Nov-10 2:08 
GeneralRe: Please tell me whats wrong with function? Pin
CPallini17-Nov-10 2:16
mveCPallini17-Nov-10 2:16 
JokeRe: Please tell me whats wrong with function? Pin
Code-o-mat17-Nov-10 2:21
Code-o-mat17-Nov-10 2:21 
AnswerRe: Please tell me whats wrong with function? [modified] Pin
Alain Rist17-Nov-10 3:50
Alain Rist17-Nov-10 3:50 
GeneralRe: Please tell me whats wrong with function? Pin
CPallini17-Nov-10 5:26
mveCPallini17-Nov-10 5:26 
AnswerRe: Please tell me whats wrong with function? Pin
super17-Nov-10 2:23
professionalsuper17-Nov-10 2:23 
QuestionRe: Please tell me whats wrong with function? Pin
David Crow17-Nov-10 3:15
David Crow17-Nov-10 3:15 

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.