CFrameWnd *without* a view [modified]
-
Hi I'm trying out the new features of the new VS2008 MFC Feature Pack (TR1). Managed to make a really nice looking application using 4 or 5 different
CDockablePane
s. All my views are now in their own pane, and the docking works really well. Trouble is, there's a redundant CView lingering about which I a) don't have any use for, and b) don't know how to get rid of. I tried various ways of resizing the top-level CPaneContainer using the SetPaneSize sample provided with the feature pack, which I implemented in CMainFrame::OnSize. This does work but it kinda breaks the dockable pane functionality - i.e. you can dock panes to the almost-visible CView and the whole thing screws up. Is there an easy way to get the benefits of CFrameWnd, and get rid of CView altogether? Whilst keeping the CDockablePane functionality. ---- Edit: Or alternatively is there a way to prevent panes from being docked onto the CView? ---- Thanks [d3m0n] P.S. MSDN's Feature Pack documentation is abysmal :mad:. You get more sense from stepping into the code and having a look around to see what you can call.Cheers [d3m0n] Email (replace "***" with "key")
modified on Monday, July 14, 2008 4:50 PM