Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: cannot get program to work can someone tell me what I am doing wrong Pin
Richard Andrew x642-Aug-09 7:50
professionalRichard Andrew x642-Aug-09 7:50 
General[Message Deleted] Pin
Andre Smalling2-Aug-09 7:57
Andre Smalling2-Aug-09 7:57 
GeneralRe: cannot get program to work can someone tell me what I am doing wrong Pin
Richard Andrew x642-Aug-09 8:02
professionalRichard Andrew x642-Aug-09 8:02 
GeneralRe: cannot get program to work can someone tell me what I am doing wrong Pin
Rozis2-Aug-09 8:34
Rozis2-Aug-09 8:34 
Questionhow use CDialog in Win32 API? Pin
bsh01281-Aug-09 7:58
bsh01281-Aug-09 7:58 
AnswerRe: how use CDialog in Win32 API? Pin
Bacon Ultimate Cheeseburger1-Aug-09 11:27
Bacon Ultimate Cheeseburger1-Aug-09 11:27 
QuestionExact type of HGDIOBJ (pen, brush, font, etc.) Pin
japcrword1-Aug-09 1:13
japcrword1-Aug-09 1:13 
AnswerRe: Exact type of HGDIOBJ (pen, brush, font, etc.) Pin
Bacon Ultimate Cheeseburger1-Aug-09 1:27
Bacon Ultimate Cheeseburger1-Aug-09 1:27 
QuestionUnhandled exception occur ant points at afxcoll.inl line 306. Pin
Le@rner31-Jul-09 23:44
Le@rner31-Jul-09 23:44 

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.