如何在Windows客户端区域中更改面板/视图 [英] How To Change Panel/view in the Windows Client Area

查看:68
本文介绍了如何在Windows客户端区域中更改面板/视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用C ++ MFC设计一个学生注册和考试录制应用程序,其中包含一个包含按钮编辑的子窗口以及显示在应用客户区域上的其他常用控件,可以通过单击删除并替换为另一个一个按钮。这就是我现在面临的问题(GUI)。我来自JAVA背景,可以通过创建JPanel作为按钮,组合框和文本字段控件的容器来完成。面板显示在客户区域中,可以删除并替换为包含一组新控件的另一个面板。我尝试学习CView,但它一直在讨论文档和视图,它们在文字处理中显示无标题文档。任何指针将不胜感激。谢谢。

I want to design a student registration and exam recording app using C++ MFC with a kind of child window containing buttons edits and other common controls which is displayed on the app client area, and can be removed and replaced with another one by clicking a button. Thats the problem i face now( The GUI ). I came from JAVA background where this can be done by creating a JPanel as a container for the buttons, combo boxes and text fields controls. the panel is displayed on the client area and can be removed and replaced with another panel containing a new set of controls. I tried learning CView but it keeps talking about documents and views that displays untitled document as in word processing. Any pointer will be appreciated. Thanks.

推荐答案

马修是对的,你应该看看 CFormView [ ^ ]。
Matthew is correct, you should look into the CFormView Class[^].


这篇关于如何在Windows客户端区域中更改面板/视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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