2011年1月7日

Custom Splitter Window 对话框上实现窗口分割

摘要: Custom Splitter Window using MFC class CSplitterWnd Custom Splitter Window using MFC class CSplitterWnd This article shows a demonstration of how to create an explorer interface on a dialog using the MFC classCSplitterWnd. An explorer interface is two controls ? Master and Slave. The master?s conte 阅读全文

posted @ 2011-01-07 22:39 cy163 阅读(1211) 评论(0) 推荐(0)

使用CSplitterWnd分割窗口 一 二部分(读此文章实验成功)

摘要: 使用CSplitterWnd分割窗口(一)一、基本的CSplitterWnd的使用1. 在CMainFrame中添加一个CSplitterWnd成员:CSplitterWnd m_splitterwnd1;2.基于CView创建两个新的视图类,CViewLeft和CViewRight,一个用于在左边显示,一个用于在右边显示。3.重载CMainFrame的OnCreateClient函数,在并其中调用CSplitterWndr的CreateStatic函数创建该分割窗口,CreateView函数创建左右两个视图,SetColumnInfo设定分割窗口的列的宽度:BOOL CMainFrame:: 阅读全文

posted @ 2011-01-07 22:37 cy163 阅读(930) 评论(0) 推荐(0)

导航