JiiPee
2016-08-05 11:54:36 UTC
If I create a a MFC project with Project style: "Visual Studio" and then
create my own child window (frame plus view) and set the MainFrame to be
its parent all works fine (the child window will be inside the mainframe
all the time). But if I create the old "MFC standard" style project and
do the same then wierd things happen and if failes (its there but first
hidden and all kind of drawing/update problems). Any idea why the old
mainframe cannot be a parent window? I can see that the old has
mainframe derived from CFrameWnd and in the new project its
CFrameWndEx.... is this the reason?
create my own child window (frame plus view) and set the MainFrame to be
its parent all works fine (the child window will be inside the mainframe
all the time). But if I create the old "MFC standard" style project and
do the same then wierd things happen and if failes (its there but first
hidden and all kind of drawing/update problems). Any idea why the old
mainframe cannot be a parent window? I can see that the old has
mainframe derived from CFrameWnd and in the new project its
CFrameWndEx.... is this the reason?