1

This is a empty SDI project

enter image description here

As you see, I need to put the "cdockpane" on the center view, but I don't have any idea how to do it.

Mosh Feu
  • 28,354
  • 16
  • 88
  • 135
xuecat
  • 33
  • 3

1 Answers1

0

You have the source code - look at it.

In MFC, the CFrameWndEx implements docking, not the CView class. In your example, you can pull FileView panel out of its container and dock it anywhere in the empty area in the center of your frame (I mean - a the top, bottom, left or right). If you have more dockable panels, you can keep building up taking all the space available for the view...

What exactly are you trying to do?

Vlad Feinstein
  • 10,960
  • 1
  • 12
  • 27
  • You already have all the source code you need - that wizard-generated project is using docking panels (File View, Class View, etc.) – Vlad Feinstein Dec 30 '15 at 14:22