首先建立一个基于对话框的工程,导入数码位图资源,直接在对话框类CMy2Dlg中添加类mytime
程序中的mytime类主要提供两个函数接口:一个是set()用来设置显示位置;一个是myfun()用来设置显示数字来显示。-first establish a dialog-based project, import the bitmap of digital resources directly in the dialog box to add class CMy2Dlg class mytime program mytime principal interface provides two functions: one is the set () is used to set the display position one myfun () is used to set the display of figures.