登录
首页 » 界面开发 » 电子时钟

电子时钟

于 2022-08-13 发布 文件大小:2.58 MB
0 94
下载积分: 2 下载次数: 1

代码说明:

  在设计迷你电子时钟控件时,主要是根据位图来描绘数字。在静态文本控件中根据当前显示的数字,从位图中查找对应的图片,将其绘制在静态文本控件的窗口中,这样就实现了电子时钟形式的数字。 实现过程:(1)新建一个基于对话框的应用程序。(2)向工程里导入一个位图资源。(3)在窗体中添加一个图片控件和一个静态文本控件,设置图片控件。(4)以CStatic类为基类派生一个CNumberCtrl类,并为要自绘的静态文本控件关联一个该类的对象。(5)在CNumberCtrl类的OnPaint方法中绘制控件外观。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • MFC 实践
    Learning MFC 可以學習 float 之使用这个文件(项目文件)包含在项目水平和信息用于建立一个项目或子项目。其他用户可以共享项目(.dsp)文件,但他们应该在本地出口makefile。
    2022-06-30 02:47:00下载
    积分:1
  • pulled in a run on the interface procedures used to achieve flights inquiries ma...
    一个运行在WINCE上的界面程序,用于实现飞机航班的查询管理。程序不大,适用于初学者。-pulled in a run on the interface procedures used to achieve flights inquiries management. Procedures not apply to beginners.
    2022-07-13 10:51:12下载
    积分:1
  • Data structure to achieve the prim tree, friends who are interested can look at.
    数据结构里的prim树的实现,有兴趣的朋友可以看看。-Data structure to achieve the prim tree, friends who are interested can look at.
    2022-04-28 12:37:06下载
    积分:1
  • 实现文档的视图分割和现实功能,视图之间的切换功能等.
    实现文档的视图分割和现实功能,视图之间的切换功能等.-achieve documents View functional segmentation and reality, between the View switching capabilities.
    2022-02-20 07:23:00下载
    积分:1
  • the code for the location of the slide shows and digital dial combine control of...
    本代码提供了显示滑块位置的和数字表盘结合显示控制的例子-the code for the location of the slide shows and digital dial combine control of the examples show
    2022-01-25 18:08:13下载
    积分:1
  • 这另一个记事本。
    This another Notepad.
    2023-04-15 05:45:03下载
    积分:1
  • 一个帮助入门的C++环境下的编程源码
    一个帮助入门的C++环境下的界面编程源码-A portal to help the C++ Environment interface programming source code
    2022-08-16 10:10:01下载
    积分:1
  • Multiline Titletips that I find online, and belongs to original author.
    Multiline Titletips 是我在网上找的,版权归原作者所有。-Multiline Titletips that I find online, and belongs to original author.
    2022-09-16 04:45:03下载
    积分:1
  • 2022-09-27 13:25:02下载
    积分:1
  • 改进的等值线
    本源代码的第一作者是:YANG Qing.Department of Geophysics,Yangtze University,Jingzhou,Hubei.434023.mou_yq@126.com 我是在第一作者的源代码基础上改写的,改写内容:(1)添加了比较完成的点、线、面、等值线类;(2)自己改写了比较简洁的三角剖分代码;(3)改写了第一作者的搜索等值线代码,使其更简洁易读。 本代码仅供学习使用,若有侵权行为,请告知,我会及时处理。 测试数据“Slice_Records1.sls”是原来自带的数据,“TUTORWS2.DAT”是从surfer8.0安装文件夹中的“SampleTUTORWS2.DAT”改变而来。 解压密码:hzsong123
    2023-05-28 02:05:04下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载