摘要
本文采用VC++6.0编译器,运用API函数及类库设计与实现了一个多时区的时钟软件。该软件通过对菜单中时区的选择来切换不同时区时钟的显示,利用API计时器函数,实现了计时和时钟的每秒刷新,同时利用MFC类库函数对表盘和时钟指针进行了颜色设置,使得时钟在完成计时和日期显示功能的同时,界面更加美观。
A new clock is designed and realized with Visual C++6.0 and API in this paper.The clock software displays time of different zones through menu selection.This software realizes timing and clock's refresh per second with API timer function.Meanwhile,the color for dial and clock hands is set with MFC fimctions,so that it can display time and date and its interface is more beautiful.
出处
《计算机光盘软件与应用》
2011年第13期195-196,共2页
Computer CD Software and Application