登录
首页 » 其他 » VC++添加托盘图标的CTrayIcon类应用例子

VC++添加托盘图标的CTrayIcon类应用例子

于 2023-06-06 发布 文件大小:14.39 kB
0 1136
下载积分: 2 下载次数: 1

代码说明:

CTrayIcon 类的运用,编这个类是因为看到网上很多的文章介绍怎样把图标添加到系统区,但是有点繁琐,所以就把它封装在CTrayIcon类里,供以后的人方便使用,先介绍一下这个类的功能:   在状态栏系统区方便的显示图标,以动画显示图标      类的使用方法如下:   在窗口类中包含#include "TrayIcon.h".   再申明一个类的实例 CTrayIcon w_myTray;   在需要添加图标的地方调用 w_myTray.SetIcon(youIcon,Tip,ID);   在需要动画的地方调用w_myTray.SetAnimIcon(&youImglst);   在循环或OnTimer()里调用w_myTray.ShowNextIcon()就可以动画显示了.   具体就请下载本源码吧。

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

发表评论

0 个回复

  • 读取磁盘序列号 读取磁盘序列号
    读取磁盘序列号 读取磁盘序列号 -disk read serial number sequence read disk, disk read serial number sequence read disk, disk read sequences of Reading serial numbers from disk
    2022-02-12 05:55:01下载
    积分:1
  • 一款简易的贪食蛇游戏,颜色变换很有特色哦~
    一款简易的贪食蛇游戏,颜色变换很有特色哦~-A simple Snake game, the color change is quite distinctive oh ~
    2022-01-23 10:21:36下载
    积分:1
  • 页面置换算法演示,程序中含有一些对控制台输出和事件进行控制的API函数....
    页面置换算法演示,程序中含有一些对控制台输出和事件进行控制的API函数. -Demo page replacement algorithm, the program contains some of the console output and the control of the incident API function.
    2022-08-23 10:48:48下载
    积分:1
  • 正弦交流电路计算机
    计算机辅助正弦交流电路分析的理论及实现过程。分析方法采用节点分析法。采用了把一个二端元件定义一支路的概念,这种处理方法在网络分析中具有简单、易于掌握的特点。而在解线性方程时采用大家所熟悉的高斯―约当消去法。在建立方程的过程中采用的是形成Gn,Jn的直接填写法。为使读者理解编写通用程序的思路和方法,使用了大量的流程图。程序能处理含有导纳支路、电流源支路、电压源支路、四种受控源支路及含有互感支路的正弦稳态电路。-sinusoidal AC circuit computer-aided analysis of the theory and implementation process. Analysis using nodal analysis method. Used to bring a two-path components of a definition of the concept of this approach in network analysis is simple, easy-to-understand characteristics. The solution of linear equations used are all familiar with the Gauss-Jordan elimination method. The establishment of the equation used in the process of forming Gn, Jn fill in the direct method. In order to enable readers to understand the procedures for the preparation of general ideas and methods, the use of a large number of flow chart. Procedures can handle containing admittance slip current source slip voltage source slip four controlled source service road and the slip road with mutual inductance sinusoid
    2022-03-09 09:26:32下载
    积分:1
  • C语言高级实例应用源码,一部分实例已生成EXE文件,能够直接运行,...
    C语言高级实例应用源码,一部分实例已生成EXE文件,能够直接运行,
    2022-07-16 19:39:45下载
    积分:1
  • 用matlab编制的转子裂纹综合模型供做此方面设计的人参考。
    用matlab编制的转子裂纹综合模型供做此方面设计的人参考。
    2022-08-17 02:57:38下载
    积分:1
  • 计算机系统结构实现记分牌算法模拟器
    计算机系统结构中实现记分牌算法的一个模拟器-computer system architecture to achieve Scoreboard an algorithm simulator
    2022-02-05 14:49:14下载
    积分:1
  • 快速排序的经典算法
    快速排序的经典算法-Quick Sort of the classic algorithm
    2022-02-13 01:29:10下载
    积分:1
  • 用VC编写的鼠标变换的代码
    用VC编写的鼠标变换的代码-VC prepared by the mouse transform the code
    2022-06-14 02:13:52下载
    积分:1
  • JS Tree树形菜单 带节点连接线
    JS Tree树形菜单,确实是够经典的WEB版树形菜单特效,带有节点连接线的树状折叠菜单,点击的时候会展开子菜单,适合用于WEB版的信息管理系统、CMS后台系统中,你喜欢的话,你可以用在任意你想要的地方。
    2023-08-20 16:25:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载