如何将动态控件添加到MFC中的对话框 [英] How to add dynamic controls to a dialog in MFC

查看:248
本文介绍了如何将动态控件添加到MFC中的对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个列表框,我有一些详细信息,数据为char/int/BOOL/Float类型..关于getcursel(); ..我需要获取特定的选择的conbtrol(滑块/编辑框/复选框)选择...

I have a list box and i have certain details, the data are in char/int/BOOL/Float types..on getcursel();..i need to get selected conbtrol (slider/editbox/checkbox) for particular selection...

Dynamically(Run-time) how to do this??

推荐答案

位已过时,但看起来很有希望:使用Rollout窗口在运行时创建,定位,显示和隐藏控件" [
Bit dated, but looks promising: "Create, Position, Show and Hide controls at Runtime using the RollOut Window"[^].
Of course, you may find yourself more updated content on the web.


这篇关于如何将动态控件添加到MFC中的对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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