How can I split a CDockablePane into two parts, just like the "Class View" in VS2010 IDE?
Thanks in advance!
相关问题
- how to call a C++ dll from C# windows application
- efficiently calling unmanaged method taking unmana
- Why is my COM factory never released during the pr
- Create CFrameWnd gives first-chance exceptions--wh
- Underline is drawn outside of rectangle reported b
相关文章
- C++: Callback typedefs with __stdcall in MSVC
- Is it possible to check whether you are building f
- Which VC++ redistributable package to choose (x86
- MFC CListView响应HDN_ITEMCHANGING后改变列宽无法自动显示隐藏水平滚动条
- How can I handle the Return key in a CEdit control
- How can I create a guid in MFC
- How to convert Byte Array to hex string in visual
- Visual Studio unable to recognise my MFC library f
Class View seems to be a CDockablePane, but that thing that divides upper and lower of Class View doesn't seem to be anything related to CDockablePanes, but a splitter. I had succesfully done that using a very small class that I derived from CSplitterWndEx
extend CSplitterWndEx as follow :
add the following member to MyDockablePaneClass
the OnCreate of MyDockablePaneClass look like this :
add hendler for OnSize as Following
Note i add handler for toolbar positioning in onSize handler , in case you don't have a toolbar delete the code and assume cyTlb = 0
good luck