Click here to Skip to main content
15,907,497 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionStarnge CButton::SetFont() behavior Pin
josip cagalj5-Dec-08 6:11
josip cagalj5-Dec-08 6:11 
AnswerRe: Starnge CButton::SetFont() behavior Pin
CPallini5-Dec-08 7:13
mveCPallini5-Dec-08 7:13 
GeneralRe: Starnge CButton::SetFont() behavior Pin
josip cagalj7-Dec-08 22:18
josip cagalj7-Dec-08 22:18 
AnswerRe: Starnge CButton::SetFont() behavior Pin
Iain Clarke, Warrior Programmer5-Dec-08 7:17
Iain Clarke, Warrior Programmer5-Dec-08 7:17 
JokeRe: Starnge CButton::SetFont() behavior Pin
CPallini5-Dec-08 7:52
mveCPallini5-Dec-08 7:52 
GeneralRe: Starnge CButton::SetFont() behavior Pin
Iain Clarke, Warrior Programmer5-Dec-08 7:57
Iain Clarke, Warrior Programmer5-Dec-08 7:57 
JokeRe: Starnge CButton::SetFont() behavior Pin
CPallini5-Dec-08 8:27
mveCPallini5-Dec-08 8:27 
GeneralRe: Starnge CButton::SetFont() behavior Pin
josip cagalj7-Dec-08 22:15
josip cagalj7-Dec-08 22:15 
Thanks to all for posting.
The answers:
1. I'm not getting any errors, code execute correctly only the font doesn't change!
2. nmc is filled with sensible values.
3. MaliFont is an member variable of my dialog class('OnInitDialog()'), not created in the member function.

Thanks again guys
GeneralRe: Starnge CButton::SetFont() behavior Pin
Iain Clarke, Warrior Programmer7-Dec-08 23:09
Iain Clarke, Warrior Programmer7-Dec-08 23:09 
QuestionApplication compiled on Visual Studio 2003 crashes in Vista 32bit (on a 64 bit processor) Pin
Kartik Sura5-Dec-08 2:03
Kartik Sura5-Dec-08 2:03 
AnswerRe: Application compiled on Visual Studio 2003 crashes in Vista 32bit (on a 64 bit processor) Pin
Jijo.Raj5-Dec-08 3:03
Jijo.Raj5-Dec-08 3:03 
AnswerRe: Application compiled on Visual Studio 2003 crashes in Vista 32bit (on a 64 bit processor) Pin
Stuart Dootson5-Dec-08 5:17
professionalStuart Dootson5-Dec-08 5:17 
Questioncan't use FILETIME while writting idl file . Pin
vijay_k5-Dec-08 1:48
vijay_k5-Dec-08 1:48 
AnswerRe: can't use FILETIME while writting idl file . Pin
Marcelo Emmerich5-Dec-08 2:10
Marcelo Emmerich5-Dec-08 2:10 
AnswerRe: can't use FILETIME while writting idl file . Pin
Stuart Dootson5-Dec-08 5:24
professionalStuart Dootson5-Dec-08 5:24 
QuestionBuild Set up problem Pin
SNI5-Dec-08 1:47
SNI5-Dec-08 1:47 
AnswerRe: Build Set up problem Pin
Iain Clarke, Warrior Programmer5-Dec-08 7:20
Iain Clarke, Warrior Programmer5-Dec-08 7:20 
GeneralRe: Build Set up problem Pin
SNI11-Dec-08 1:25
SNI11-Dec-08 1:25 
QuestionLogin Dialog Probelm Pin
MsmVc5-Dec-08 1:25
MsmVc5-Dec-08 1:25 
AnswerRe: Login Dialog Probelm Pin
Code-o-mat5-Dec-08 1:40
Code-o-mat5-Dec-08 1:40 
GeneralRe: Login Dialog Probelm Pin
MsmVc5-Dec-08 1:47
MsmVc5-Dec-08 1:47 
GeneralRe: Login Dialog Probelm Pin
Code-o-mat5-Dec-08 2:12
Code-o-mat5-Dec-08 2:12 
AnswerRe: Login Dialog Probelm Pin
Nishad S5-Dec-08 1:50
Nishad S5-Dec-08 1:50 
GeneralRe: Login Dialog Probelm Pin
MsmVc5-Dec-08 2:01
MsmVc5-Dec-08 2:01 
GeneralRe: Login Dialog Probelm Pin
Nishad S5-Dec-08 2:05
Nishad S5-Dec-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.