Click here to Skip to main content
15,910,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How evoke a modal dialog box in a CWinTread Class Pin
vethathiri15-Nov-07 0:05
vethathiri15-Nov-07 0:05 
AnswerRe: How evoke a modal dialog box in a CWinTread Class Pin
Mark Salsbery14-Nov-07 7:47
Mark Salsbery14-Nov-07 7:47 
AnswerRe: How evoke a modal dialog box in a CWinTread Class Pin
Blake Miller16-Nov-07 4:46
Blake Miller16-Nov-07 4:46 
QuestionHow evoke a moda dialog box in a CWinTread Class Pin
vethathiri13-Nov-07 20:23
vethathiri13-Nov-07 20:23 
Questioncheckbox caption Pin
subramanyeswari13-Nov-07 20:14
subramanyeswari13-Nov-07 20:14 
AnswerRe: checkbox caption Pin
only coder13-Nov-07 20:57
only coder13-Nov-07 20:57 
GeneralRe: checkbox caption Pin
subramanyeswari13-Nov-07 21:24
subramanyeswari13-Nov-07 21:24 
GeneralRe: checkbox caption Pin
Nelek13-Nov-07 22:43
protectorNelek13-Nov-07 22:43 
I think is the best place to use it.

In the constructor you may have error/assertion because the window is not already created so you dont have any possibility to access visual controls, m_hWnd will be NULL and give you problems.

But in OnInitDialog all the objects are already created and it is called the very first time the dialog and its components are shown in the screen.

Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Help me to understand what I'm saying, and I'll explain it better to you

“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

Wink | ;)

GeneralRe: checkbox caption Pin
ThatsAlok14-Nov-07 3:51
ThatsAlok14-Nov-07 3:51 
Questionerror C3861: 'wxStrdupW': identifier not found Pin
yaminisridaran13-Nov-07 19:35
yaminisridaran13-Nov-07 19:35 
AnswerRe: error C3861: 'wxStrdupW': identifier not found Pin
Peter Weyzen13-Nov-07 22:06
Peter Weyzen13-Nov-07 22:06 
Questionhow to use datetime in c programming? Pin
neodeaths13-Nov-07 18:59
neodeaths13-Nov-07 18:59 
AnswerRe: how to use datetime in c programming? Pin
Hamid_RT13-Nov-07 19:05
Hamid_RT13-Nov-07 19:05 
GeneralRe: how to use datetime in c programming? Pin
neodeaths13-Nov-07 19:23
neodeaths13-Nov-07 19:23 
GeneralRe: how to use datetime in c programming? Pin
David Crow14-Nov-07 3:41
David Crow14-Nov-07 3:41 
QuestionBitMap button Pin
Anu_Bala13-Nov-07 18:56
Anu_Bala13-Nov-07 18:56 
AnswerRe: BitMap button Pin
Hamid_RT13-Nov-07 19:13
Hamid_RT13-Nov-07 19:13 
GeneralRe: BitMap button Pin
Anu_Bala13-Nov-07 19:17
Anu_Bala13-Nov-07 19:17 
AnswerRe: BitMap button Pin
only coder13-Nov-07 19:36
only coder13-Nov-07 19:36 
GeneralRe: BitMap button Pin
Anu_Bala13-Nov-07 20:15
Anu_Bala13-Nov-07 20:15 
AnswerRe: BitMap button Pin
Amar Sutar13-Nov-07 19:40
Amar Sutar13-Nov-07 19:40 
AnswerRe: BitMap button Pin
David Crow14-Nov-07 3:42
David Crow14-Nov-07 3:42 
QuestionPosting Message to another Application Window Pin
Sethuraman.K13-Nov-07 18:09
Sethuraman.K13-Nov-07 18:09 
AnswerRe: Posting Message to another Application Window Pin
Hamid_RT13-Nov-07 18:16
Hamid_RT13-Nov-07 18:16 
GeneralRe: Posting Message to another Application Window Pin
Sethuraman.K13-Nov-07 18:23
Sethuraman.K13-Nov-07 18:23 

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.