Click here to Skip to main content
15,795,402 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
This is my code....what am I missing? I thing it's the height and weight that is giving me problem. I am from VB world.

thanks

CFont LargeFont;
LOGFONT lf;
memset(&lf, 0, sizeof(LOGFONT));
lf.lfHeight = 24;
lf.lfWeight = 400;
strcpy(lf.lfFaceName, "MS Sans Serif");
VERIFY(LargeFont.CreateFontIndirect(&lf));

GetDlgItem(IDC_STATIC5)->SetFont(&LargeFont);
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 
GeneralRe: C++ new dynamic allocation of memory problem [modified] Pin
JudyL_MD14-Apr-08 5:18
JudyL_MD14-Apr-08 5:18 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Matthew Faithfull14-Apr-08 3:57
Matthew Faithfull14-Apr-08 3:57 
AnswerRe: C++ new dynamic allocation of memory problem Pin
James R. Twine14-Apr-08 4:03
James R. Twine14-Apr-08 4:03 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Joe Woodbury14-Apr-08 7:57
professionalJoe Woodbury14-Apr-08 7:57 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Stephen Hewitt14-Apr-08 16:27
Stephen Hewitt14-Apr-08 16:27 
QuestionSerial communication Pin
FPeeters14-Apr-08 2:05
FPeeters14-Apr-08 2:05 

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.