Click here to Skip to main content
15,894,017 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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.

GeneralRe: CDialog OnCreate vs OnInitDialog Pin
ForNow1-Aug-09 18:53
ForNow1-Aug-09 18:53 
Question[Message Deleted] Pin
lifeandtimes1-Aug-09 12:22
lifeandtimes1-Aug-09 12:22 
AnswerRe: Write to and read from file C Pin
Richard Andrew x641-Aug-09 12:51
professionalRichard Andrew x641-Aug-09 12:51 
Question[Message Deleted] Pin
Andre Smalling1-Aug-09 8:19
Andre Smalling1-Aug-09 8:19 
AnswerRe: cannot get program to work can someone tell me what I am doing wrong Pin
Richard Andrew x641-Aug-09 13:03
professionalRichard Andrew x641-Aug-09 13:03 
Answer[Message Deleted] Pin
Andre Smalling1-Aug-09 19:24
Andre Smalling1-Aug-09 19:24 
GeneralRe: cannot get program to work can someone tell me what I am doing wrong Pin
Richard Andrew x642-Aug-09 2:09
professionalRichard Andrew x642-Aug-09 2:09 
General[Message Deleted] Pin
Andre Smalling2-Aug-09 7:45
Andre Smalling2-Aug-09 7:45 

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.