在对话框上生成数据 [英] Generating Data on Dialog Box

查看:95
本文介绍了在对话框上生成数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的技术人员,
我创建了一个对话框(无模式),该对话框由各种
组合框,编辑文本,旋转控件,单选按钮和
之类的控件 进度栏.

现在,每当我在第一个组合框中选择相应的项目时,
该项目的相关详细信息应自动填写
对话框上的相关控件.

好吧,详细信息将来自数据库(SQLite).因此,如何执行上述任务,请提供一些线索.我仍在学习MFC.

谢谢与问候,
Win Techie

Dear Techies,
I ve created a dialog Box(Modeless), and that dialog box consists of various
controls like Combo box, Edit Text, Spin Controls, Radio Buttons, and a
Progress Bar.

Now whenever I select a corresponding item in the first Combo Box, the
associated details of that Items should be automatically filled in the
concerned controls on the Dialog Box.

Well, the details would come from database(SQLite). So how should I proceed for the above mentioned task,pls give some clues.I am still learning MFC.

Thanks & Regards,
Win Techie

推荐答案

您需要捕获相应的 ^ ],然后通过 ^ ]机制.
You need to capture the appropriate notification message[^] and then copy the relevant data from the selected combo box item into your other control(s) via the Data Exchange[^] mechanism.


这篇关于在对话框上生成数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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