Click here to Skip to main content
15,794,629 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem customizing tree control Pin
Jim Crafton14-Apr-08 6:11
Jim Crafton14-Apr-08 6:11 
GeneralRe: Problem customizing tree control [modified] Pin
enhzflep14-Apr-08 6:49
enhzflep14-Apr-08 6:49 
GeneralFind All Window Pin
john563214-Apr-08 4:52
john563214-Apr-08 4:52 
GeneralRe: Find All Window Pin
JudyL_MD14-Apr-08 5:10
JudyL_MD14-Apr-08 5:10 
GeneralRe: Find All Window Pin
john563214-Apr-08 5:14
john563214-Apr-08 5:14 
GeneralRe: Find All Window Pin
JudyL_MD14-Apr-08 5:28
JudyL_MD14-Apr-08 5:28 
QuestionRe: Find All Window Pin
David Crow14-Apr-08 5:13
David Crow14-Apr-08 5:13 
QuestionFont/FontSize Pin
C++NewBe14-Apr-08 3:34
C++NewBe14-Apr-08 3:34 
I'm tring to set the Font and Fontsize to "MS Sans Serif" and 14, the code below does not seem to do it...what am I doing wrong? Is there an easier way to do this?

Thanks


CFont LargeFont;
LOGFONT lf;
memset(&lf, 0, sizeof(LOGFONT));
lf.lfHeight = 24;
lf.lfWeight = 400;
strcpy(lf.lfFaceName, "MS Sans Serif");
GetDlgItem(IDC_STATIC5)->SetFont(&LargeFont);
GeneralRe: Font/FontSize Pin
Cedric Moonen14-Apr-08 3:38
Cedric Moonen14-Apr-08 3:38 
GeneralRe: Font/FontSize Pin
CPallini14-Apr-08 4:27
mveCPallini14-Apr-08 4:27 
QuestionRe: Font/FontSize Pin
David Crow14-Apr-08 4:44
David Crow14-Apr-08 4:44 
GeneralRe: Font/FontSize Pin
C++NewBe14-Apr-08 4:52
C++NewBe14-Apr-08 4:52 
QuestionRe: Font/FontSize Pin
David Crow14-Apr-08 4:56
David Crow14-Apr-08 4:56 
GeneralRe: Font/FontSize Pin
C++NewBe14-Apr-08 5:04
C++NewBe14-Apr-08 5:04 
QuestionRe: Font/FontSize Pin
David Crow14-Apr-08 5:15
David Crow14-Apr-08 5:15 
GeneralRe: Font/FontSize Pin
C++NewBe14-Apr-08 5:21
C++NewBe14-Apr-08 5:21 
GeneralRe: Font/FontSize Pin
David Crow14-Apr-08 5:26
David Crow14-Apr-08 5:26 
GeneralQuery regarding ListBox Pin
Rahul Vaishnav14-Apr-08 3:29
Rahul Vaishnav14-Apr-08 3:29 
AnswerRe: Query regarding ListBox Pin
Rajesh R Subramanian14-Apr-08 3:36
professionalRajesh R Subramanian14-Apr-08 3:36 
GeneralRe: Query regarding ListBox Pin
Rajkumar R14-Apr-08 3:42
Rajkumar R14-Apr-08 3:42 
GeneralRe: Query regarding ListBox Pin
Rajesh R Subramanian14-Apr-08 3:46
professionalRajesh R Subramanian14-Apr-08 3:46 
GeneralRe: Query regarding ListBox Pin
Hamid_RT15-Apr-08 3:24
Hamid_RT15-Apr-08 3:24 
GeneralC++ new dynamic allocation of memory problem Pin
Member 336349814-Apr-08 3:28
Member 336349814-Apr-08 3:28 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Cedric Moonen14-Apr-08 3:31
Cedric Moonen14-Apr-08 3:31 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Member 336349814-Apr-08 3:39
Member 336349814-Apr-08 3:39 

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.