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.