Windows编程中的面向对象技术
Method of Oritened-object in Windows Programming
-
摘要: Windows编程是事件驱动的交互程序设计方法,虽然以动态链接库的方式提供了大量的API函数,但是用户界面难以实现,并且重用性、维护性和扩充性较差;面向对象的思想和技术,为Windows提供了许多基本用户界面对象,如窗口、各种控件等,针对面向对象技术的特点,结合Windows编程的优势,给出了Windows应用程序的用户界面的实现方法,结果表明,程序交互性好,而且便于重用、维护和扩充。Abstract: Windows programming is a interactive method which based on event-drive, it has many API functions which in DLL, but it is difficult to complete the user interface, and reusability maintain and extendence is poor; oriented-object method and technology supply many base user interface objects, such as windows and controlled units. Based on the oriented object and windows programming feature, supply a method which can release the user interface of the application program,and interactive reusability maintain and extendence is good.