Hi all,
I want to make a tabbed document view to float like visual studio 2012, is there any suggestion or example by using MFC of VS 2012?
The expected result should be similar as following descripton:
Step 1:
use visual C++ of Visual studio 2012 to create/open a project, it will look as follows, the source file *.cpp is in tabbed mode, and then right click the tabbed head, it will show the menu "Float", click "Float", the result will be as step 2:
Step 2:
Following picture is the expected result that I want(result after click "Float"), as you see, the ClassView.cpp is in a floating window, not in tabbed mode, and in this case, you could also drag the window back to the tabbed view.
Step 3:
using spy++ to see the result, it will be as follows, it seems the VS 2012 had changed a lot comparing to VS 2008
So how to implement with MFC in visual studio 2012 to make a tabbed document view to float just like VS 2012?
Currently we could use VS 2012 to create a default multi-document project with style VS 2008(like VS sample in VS2008 MFC Feature Pack ), but currently it had not support to float a tabbed document view(Using CMFCTabCtrl and so on). it could only float a window which inherit CDockablePane.
Any suggestion is welcome, and it will be more helpful if you could give some sample project.