在MFC中创建4个视图 [英] Creating 4 Views In MFC

查看:118
本文介绍了在MFC中创建4个视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在MFC的CView窗口中创建4个视图(Half Life MapEditor-3DSMax样式)?

How to create 4 views (Half Life MapEditor - 3DSMax style) in a CView window in MFC?

推荐答案

使用CSplitterWnd::CreateStatic将屏幕分为2个水平零件.
两次使用CSplitterWnd::CreateView在两个窗格中的每个窗格中创建一个视图.

在创建的2个新视图的每一个中,重复上述2个步骤,以将其进一步分为2个垂直部分.
Use CSplitterWnd::CreateStatic to split the screen into 2 horizontal parts.
Use CSplitterWnd::CreateView twice to create a view in each of the two panes.

In each of the 2 new views created repeat the above 2 steps to further split them into 2 vertical parts each.


这篇关于在MFC中创建4个视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆