Click here to Skip to main content
15,905,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is function prototyping dead? Pin
Vaclav_7-Jan-17 4:29
Vaclav_7-Jan-17 4:29 
GeneralRe: Is function prototyping dead? Pin
Jochen Arndt8-Jan-17 20:58
professionalJochen Arndt8-Jan-17 20:58 
AnswerRe: Is function prototyping dead? Pin
Jochen Arndt6-Jan-17 6:49
professionalJochen Arndt6-Jan-17 6:49 
QuestionMulti Core question Pin
ForNow4-Jan-17 4:11
ForNow4-Jan-17 4:11 
AnswerRe: Multi Core question Pin
Jochen Arndt4-Jan-17 4:39
professionalJochen Arndt4-Jan-17 4:39 
GeneralRe: Multi Core question Pin
ForNow4-Jan-17 4:50
ForNow4-Jan-17 4:50 
GeneralRe: Multi Core question Pin
Jochen Arndt4-Jan-17 5:01
professionalJochen Arndt4-Jan-17 5:01 
GeneralRe: Multi Core question Pin
ForNow4-Jan-17 5:06
ForNow4-Jan-17 5:06 
GeneralCreate a program Pin
Yudha Eka Saputra3-Jan-17 18:01
Yudha Eka Saputra3-Jan-17 18:01 
GeneralRe: Create a program Pin
Victor Nijegorodov3-Jan-17 22:04
Victor Nijegorodov3-Jan-17 22:04 
GeneralRe: Create a program Pin
Richard MacCutchan3-Jan-17 23:26
mveRichard MacCutchan3-Jan-17 23:26 
QuestionRe: Create a program Pin
David Crow4-Jan-17 2:57
David Crow4-Jan-17 2:57 
GeneralRe: Create a program Pin
NotPolitcallyCorrect4-Jan-17 5:08
NotPolitcallyCorrect4-Jan-17 5:08 
QuestionMigrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
SP Chapman30-Dec-16 6:20
SP Chapman30-Dec-16 6:20 
AnswerRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
Richard MacCutchan30-Dec-16 20:59
mveRichard MacCutchan30-Dec-16 20:59 
AnswerRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
leon de boer31-Dec-16 3:04
leon de boer31-Dec-16 3:04 
GeneralRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
SP Chapman3-Jan-17 6:06
SP Chapman3-Jan-17 6:06 
GeneralRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
leon de boer8-Jan-17 3:47
leon de boer8-Jan-17 3:47 
GeneralRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
SP Chapman9-Jan-17 5:44
SP Chapman9-Jan-17 5:44 
GeneralRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
Stefan_Lang27-Jan-17 2:31
Stefan_Lang27-Jan-17 2:31 
GeneralRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
SP Chapman27-Jan-17 5:26
SP Chapman27-Jan-17 5:26 
QuestionWM_SHOWWINDOW not called Pin
_Flaviu29-Dec-16 9:56
_Flaviu29-Dec-16 9:56 
AnswerRe: WM_SHOWWINDOW not called Pin
Richard MacCutchan29-Dec-16 21:38
mveRichard MacCutchan29-Dec-16 21:38 
GeneralRe: WM_SHOWWINDOW not called Pin
_Flaviu29-Dec-16 21:58
_Flaviu29-Dec-16 21:58 
GeneralRe: WM_SHOWWINDOW not called Pin
leon de boer29-Dec-16 22:33
leon de boer29-Dec-16 22:33 
Same way as your last question handle the WM_CREATE message of the child window (or WM_MDICREATE of the parent MDICLIENT) and you know when it's created.

It's a basic thing if you want to know absolutely about something (without delay) then insert code in that handler instead of trying to determine it from a parent or associated window where the message chain gets involved. It's easier and safer than the alternatives.

The other key things with MDI's is children will by default be handled by DefMDIChildProc and be inside an MDIClient window (which is like an invisible window that sits inside an normal window) for them to operate correctly. So basically your app window contains an MDICLient, and the MDICLient contains the MDI children. So be careful the children are not actually children of the APP window as such. If you try to insert an MDIChild directly into a normal window it won't operate correctly they must be in an invisible MDIClient window pane.
In vino veritas


modified 30-Dec-16 4:54am.

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.