Objective Toolkit : Chapter 8 Docking Windows : Embedding CViews in Docking Windows
Embedding CViews in Docking Windows
Classes derived from CView pose special challenges when docking is concerned. To circumvent these challenges, the Objective Toolkit docking windows architecture only allows you to embed a class inside an SECControlBar if it is a CWnd that is not CView-derived. This is an MFC limitation inherited from the CControlBar class (for example, you cannot embed a CView inside a CControlBar).