辽宁石油化工大学学报

辽宁石油化工大学学报 ›› 2005, Vol. 25 ›› Issue (1): 71-74.

• 计算机与自动化 • 上一篇    下一篇

基于AutoCAD 平台用户应用程序中的对话框设计

王 墅   

  1. 辽宁石油化工大学机械工程学院, 辽宁抚顺113001
  • 收稿日期:2004-04-19 出版日期:2005-03-20 发布日期:2017-04-14
  • 作者简介:王 墅(1959 -), 女, 辽宁本溪市, 副教授

Design of the Dialog Box in User Applicat ion Program Based on AutoCAD

  1. School of Mechanical Engineering , Liaoning University of Petroleum & Chemical Technology ,
    Fushun Liaoning 113001, P .R .China
  • Received:2004-04-19 Published:2005-03-20 Online:2017-04-14

摘要:         基于AutoCAD 平台用户应用程序中的对话框设计主要包括对话框的界面设计和对话框的驱动程序设计。对话框的界面设计重点在于应满足用户应用程序中所需数据的直观查找, 相应参数的方便输入和所绘图形的选择。对话框驱动程序的设计关键是处理用户操作即对话框回调。以机器中标准件圆锥滚子轴承二维参数化绘图用户应用程序中的对话框界面设计和对话框驱动程序设计为例, 给出了定义对话框界面的DCL 文件, 详细介绍了对话框驱动程序中关于用户由弹出式列表构件中选择轴承直径系列时加入表项的回调程序代码, 以及当用户由列表框构件查出并选中所需数据, 编辑框构件中自动显示相应参数值的回调程序代码。

关键词: 对话框,  对话框界面设计,  对话框驱动程序设计

Abstract:

        Design of the dialog box in user application program based on Auto CAD contains mainly interface and driver design of dialog box .Interface design of dialog box focus on meeting the need of searching straight requisite data in user application, inputting conveniently cor responding parameters and selecting pictures .The key of design o f dialog driver is to process user operation , i.e . callback of dialog box .Taking ex ample for interface and driver design of dialog box of two -dimension parametric design of standard parts such as conic roller bearings in the field of machine , a DCL file to define the interface was given .With a user choosing a bearing diameter series in popup list tile, a callback program how to add list elements to list tile was described in details.After the user searched and chose the needed data in list tile , a callback program to display automatically corresponding parameters in edit tile is expounded .

Key words: Dialog box, I nterface design of dialog bo x , Drivers design of dialog box

引用本文

王 墅. 基于AutoCAD 平台用户应用程序中的对话框设计[J]. 辽宁石油化工大学学报, 2005, 25(1): 71-74.

WANG  Shu. Design of the Dialog Box in User Applicat ion Program Based on AutoCAD[J]. Journal of Liaoning Petrochemical University, 2005, 25(1): 71-74.

使用本文

0
    /   /   推荐

导出引用管理器 EndNote|Ris|BibTeX

链接本文: http://journal.lnpu.edu.cn/CN/

               http://journal.lnpu.edu.cn/CN/Y2005/V25/I1/71