I create a MFC MDI application, and want to split a window into two parts at a time dynamically by right click and choosing a "AddSplitWnd" pop menu item. I try to use CSplitterWnd::CreateStatic to implement it, once the window is split, it need to create a new view, but I want to use the previous view instead, so does anyone know how to implement it. Thank you.
相关问题
- Create CFrameWnd gives first-chance exceptions--wh
- Underline is drawn outside of rectangle reported b
- Bold labels in MFC
- Why is my MFC application hanging after interactin
- Sort files according to creation date?
相关文章
- MFC CListView响应HDN_ITEMCHANGING后改变列宽无法自动显示隐藏水平滚动条
- How can I handle the Return key in a CEdit control
- How can I create a guid in MFC
- Visual Studio unable to recognise my MFC library f
- How to get WM_POWERBROADCAST message in CWinApp?
- How to remove memory leaks between OpenCV 1.1 and
- Sending the message Ctrl+Alt+Del from my applicati
- How to display Red Squiggly Lines in CRichEditCtrl
Here is a code snippet to exchange views in a splitter in a SDI environment. This should be adaptable to work in MDI as well.
HTH