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

C / C++ / MFC

 
GeneralRe: 0xC015000F: The activation context being deactivated is not the most recently activated one. Pin
huvarmar17-Jun-11 4:28
huvarmar17-Jun-11 4:28 
GeneralRe: 0xC015000F: The activation context being deactivated is not the most recently activated one. Pin
Jörgen Sigvardsson9-Sep-10 0:21
Jörgen Sigvardsson9-Sep-10 0:21 
GeneralRe: 0xC015000F: The activation context being deactivated is not the most recently activated one. Pin
Randor 9-Sep-10 3:58
professional Randor 9-Sep-10 3:58 
QuestionDDX_CONTROL Stack Overflow Pin
ForNow2-Aug-09 12:12
ForNow2-Aug-09 12:12 
AnswerRe: DDX_CONTROL Stack Overflow Pin
manchukuo2-Aug-09 19:42
manchukuo2-Aug-09 19:42 
GeneralRe: DDX_CONTROL Stack Overflow Pin
ForNow2-Aug-09 20:26
ForNow2-Aug-09 20:26 
QuestionMFC Application class Pin
msr_codeproject2-Aug-09 8:21
msr_codeproject2-Aug-09 8:21 
AnswerRe: MFC Application class Pin
CPallini2-Aug-09 12:49
mveCPallini2-Aug-09 12:49 
AnswerRe: MFC Application class Pin
«_Superman_»2-Aug-09 16:32
professional«_Superman_»2-Aug-09 16:32 
GeneralRe: MFC Application class Pin
msr_codeproject2-Aug-09 19:07
msr_codeproject2-Aug-09 19:07 
Questionhow to give "transaction effect" in case of jpg,gif and so on. Pin
rambojanggoon1-Aug-09 23:00
rambojanggoon1-Aug-09 23:00 
AnswerRe: how to give "transaction effect" in case of jpg,gif and so on. Pin
Bacon Ultimate Cheeseburger2-Aug-09 0:53
Bacon Ultimate Cheeseburger2-Aug-09 0:53 
GeneralOT Pin
CPallini2-Aug-09 12:53
mveCPallini2-Aug-09 12:53 
QuestionOnDraw vs OnPaint Pin
msr_codeproject1-Aug-09 18:09
msr_codeproject1-Aug-09 18:09 
AnswerRe: OnDraw vs OnPaint Pin
«_Superman_»1-Aug-09 19:06
professional«_Superman_»1-Aug-09 19:06 
Questioni have an idea of doing c++ editor for my final year project ?? is it worth can i proceed?? Pin
laxram1-Aug-09 16:07
laxram1-Aug-09 16:07 
AnswerRe: i have an idea of doing c++ editor for my final year project ?? is it worth can i proceed?? Pin
Richard Andrew x641-Aug-09 16:24
professionalRichard Andrew x641-Aug-09 16:24 
AnswerRe: i have an idea of doing c++ editor for my final year project ?? is it worth can i proceed?? Pin
Bacon Ultimate Cheeseburger1-Aug-09 17:45
Bacon Ultimate Cheeseburger1-Aug-09 17:45 
GeneralRe: i have an idea of doing c++ editor for my final year project ?? is it worth can i proceed?? Pin
laxram2-Aug-09 2:25
laxram2-Aug-09 2:25 
GeneralRe: i have an idea of doing c++ editor for my final year project ?? is it worth can i proceed? Pin
Sauce!2-Aug-09 4:48
Sauce!2-Aug-09 4:48 
GeneralRe: i have an idea of doing c++ editor for my final year project ?? is it worth can i proceed? Pin
Bacon Ultimate Cheeseburger2-Aug-09 16:03
Bacon Ultimate Cheeseburger2-Aug-09 16:03 
GeneralRe: i have an idea of doing c++ editor for my final year project ?? is it worth can i proceed? Pin
Sauce!2-Aug-09 18:29
Sauce!2-Aug-09 18:29 
QuestionCDialog OnCreate vs OnInitDialog Pin
ForNow1-Aug-09 15:40
ForNow1-Aug-09 15:40 
AnswerRe: CDialog OnCreate vs OnInitDialog Pin
Bacon Ultimate Cheeseburger1-Aug-09 17:12
Bacon Ultimate Cheeseburger1-Aug-09 17:12 
AnswerRe: CDialog OnCreate vs OnInitDialog Pin
«_Superman_»1-Aug-09 17:57
professional«_Superman_»1-Aug-09 17:57 
OnCreate is called just when the application requests that the Create function be called. So it is not guarenteed that the window is fully created. OnInitDialog is called after the window (in this case the dialog) is completely created.
When you are dynamically creating a control, you will specify its parent window handle and so it has to be created completely. So always do it in OnInitDialog as said in the previous answer.

«_Superman
I love work. It gives me something to do between weekends.

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.