摘要传统程序的用户界面在设计和使用上缺乏一定灵活性,改变界面元素需重新编程。因而用户可定制的界面设计方法逐渐成为界面设计的主流发展方向。
本论文研究了基于XML(Extensible Markup Language,可扩展标记语言)的可定制用户界面设计方法。以MFC创建的基于对话框的程序界面为基础,结合XML技术,把程序界面中各控件的位置、大小、可见性等信息记录在XML文档各元素中,从而通过解析XML文件获取控件各项配置参数,并赋值给相应功能函数,最终实现动态生成用户界面。这赋予用户同编程人员一样的界面操作能力,最终在程序的操作中带来更多的灵活性,使用户界面更加个性化。9021
关键词 XML 图形用户界面 MFC 可定制
毕业设计说明书(论文)外文摘要
Title The design of customized graphical user interface
Abstract
The traditional user interface of procedue has the problem of flexibility when it is designed or used.It needs to reprogram to change the interface elements.Thus the method of customizable user interface has gradually become the main direction of development.The article researches the method of customizable user interface based on XML (Externsible Markup Language,extensible markup language).The example to show the technology is based on a traditional interface using MFC.The created procedure interface is based on the dialog box.Combined with XML technology,the interface information can be described by XML document.More precisely the elements of XML document contains the information of the controls,include position,size and visibility etc.
By analysing the XML configuration, the control parameters can be accessed and assigned to the corresponding function.The user interface can be generated dynamically.The user can get the same abilities as programmers to operate the interface.Finally it will bring more flexbility and inpiduality to program operation.
Keywords XML GUI MFC Custom Made