TreeControl在对话框的每个节点上显示不同的控件 [英] TreeControl displaying different controls on each node on a DialogBox

查看:213
本文介绍了TreeControl在对话框的每个节点上显示不同的控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我必须开发一个Dailog框,该框的左侧有一个树形控件,而框的右侧有不同的控件(组合,编辑,检查...等).
单击树控件"的每个节点应显示与该节点相关的控件.
我必须开发不同的对话框还是可以在单个对话框中实现?
http://img827.imageshack.us/i/img1k.jpg/

http://img94.imageshack.us/i/img2tyz.jpg/

Hi,
I''ve to develop a dailog box with a tree control on left side of the box and different controls(combo, edit, check...etc) on the right side of the box.
And Clicking every node of Tree Control should display controls relating to that node.
Do I''ve to develop different dialog boxes or can achieve this in a single dialog??
http://img827.imageshack.us/i/img1k.jpg/

http://img94.imageshack.us/i/img2tyz.jpg/

推荐答案

您不需要编写多个对话框,大多数人只是扩展属性表/页面即可按照您想要的方式完成此操作.有关示例,请参见以下文章:

CTreePropSheet-一个Netscape/Visual Studio .NET,如首选项"对话框 [
You don''t need to write multiple dialogs, most people just extend property sheets/pages to get this done the way you want to. For an example, see the following article:

CTreePropSheet - A Netscape/Visual Studio .NET like Preferences Dialog[^]


这篇关于TreeControl在对话框的每个节点上显示不同的控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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