Is it possible to make your ChildFrame act like a MainFrame?
What I'm really looking to do is make the childframe maintain its own dockable windows that can not be moved outside the childframe window. I'm making an MDI Tabbed application with the MFC9/VS2008 feature pack. My program does not use the doc/view architecture.
I want each project the user has open in each tab to feel like everything is contained in that project. The dockable window views and visiblility will be determined by which section of the program the user is in. It feels somewhat counter-intuitive to me when these windows are on their own and change based on a tab selection in a separate window.
Any ideas?
Also, with this new VS2008 feature pack, does anyone know of a way to easily make things like formviews/dialogs/buttons/etc. match the theme of the program instead of the XP theme?
Thanks.
Re: Is it possible to make your ChildFrame act like a MainFrame?
If you are not using Doc/View, how come ChildFrame come into picture ? Frankly I dont understand what exactly you want to do here.
Re: Is it possible to make your ChildFrame act like a MainFrame?
It's still an MDI application. I have my own "document" architecture. Each childframe could be displaying one of many views, and the dockable windows around the childframe will change based on which view is being displayed. Kind of like in VS where if you go from a standard c++ file to a dialog editor, it changes the properties box to the control toolbox.