联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Drop List Controlled Dynamic Dialog Box - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18996
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • virtualdub-win
  • Apache-SSL-Jserv
  • CppUnit
  • GLgraph
  • FCK editor
  • Async Professional
  • -= 更多 =-

    项目描述:
    It is not uncommon to need a dialog box that can change its appearance based on selections made within the dialog box. (Hence the need for tab and property sheets.) Often, tab controls or property sheets can be used to accomplish such dynamic behavior. Sometimes, however, there are so many possible selections and combinations of selections, that tab or property sheets are impractical. This technique shows a simple example of how to dynamically change a dialog box based on the selection of a list box. The CDynamicDlgDlg::Initialize() method shown below is called from the CDynamicDlgDlg::OnInitDialog() method. Each of the CDialogs in the CDialogStructure shown below is a dialog class with CHILD and THIN_FRAME properties. This could also be done in an array of CDialogs, but then functions and attributes specific to the "new" dialog classes would not be available.

    有时需要对话框可以根据内部的选择来改变它的外观。通常,tab控件或属性页可以用于完成这样的动态行为。然而,有时过多可能的选择和选择的组合使得tab或属性页不现实。这种技术演示了一个简单的例子,可以基于一个列表框的内容改变对话框的外观。从CDynamicDlgDlg::OnInitDialog() 方法中调用CDynamicDlgDlg::Initialize() 。在CDialogStructure 中的每个对话框元素是一个对话框类,带有 CHILD 和THIN_FRAME属性。这也可以通过一个CDialogs数组实现,但特定于“新”对话框类的函数和属性将不能被使用。
    来源: http://www.codeguru.com/dialog/DynamicDlg.html
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    DynamicDlg  1.0  2004-03-25 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/dialog/DynamicDlg.zip

      » 合 作 伙 伴