资 源 简 介
对话框用户界面程序的编写,如何向对话框控件关联数据成员及其实现机理,如何利用对话框类的成员函数向控件发送消息和获取对话框控件的类指针,如何直接利用对话框控件类操纵对话框控件(发送消息和直接调用成员函数)。如何在程序运行时产生和销毁控件。对话框控件的几种操作方式的优劣比较分析。如何实现对话框的部分收缩和展开。如何让对话框上的文本框在程序启动后立即获得焦点,如何利用SetWindowLong改变窗口的回调函数,通过改变文本框的默认回车处理方式进行演示。实现多个输入文本框间通过回车逐一向下传递焦点的另一种巧妙方法(用缺省按钮来处理)。-dialog user interface program, how to dialog controls associated data and Implementation Mechanism members, how to use dialog category of members function to control access to this information and dialog controls category pointer, how to use direct manipulation of the dialog box controls type controls (Send Message and direct calling member function). How procedures and caused the destruction of Control. Controls dialog mode of operation of several comparative analysis of the pros. How to achieve some of the dialog and begin contraction. How to let the text dialog box procedure was activated immediately after the focus how to use SetWindowLong to change the window callback function. By changing the default text box Enter w