-
目前在网上有一个CPictureEx类,用于加载GIF动画,不过该类是mfc封装类,对于不使用mfc的c++程序员来讲,不能使用。为了让该类能够让更多的人方便的...
目前在网上有一个CPictureEx类,用于加载GIF动画,不过该类是mfc封装类,对于不使用mfc的c++程序员来讲,不能使用。为了让该类能够让更多的人方便的使用,使其不再被局限于MFC,本人花时间改造了一下这个类,改造后,该类可以应用于任何MFC、 WTL/ATL及其它WINDOWS API编程。
由于原来的CPictureEx是继承于CStatic类,本人改造后,在CPictureEx中直接封装了一个窗口句柄HWND。
假设您在一个弹出式Dialog对话框中加载gif动画,您要做的就是在对话框中放一个控件,可以是BUTTON、STATIC等等。假设您加的这个控件的ID是IDC_FLASH,您的对话框窗口句柄是hDlg,则要使用CPictureEx,将非常简单。详情参见源代码。-present on the Internet which is a CPictureEx category for loading GIF animation, But such is mfc Packaging category for the non-use of the c mfc speaking programmers, which can not be used. To allow such to allow more people to use, it will not be confined to the MFC. I spend time on this transformation of the type that after transformation, and these can be applied to any MFC. WTL/ATL and other Windows API programming. As the original CPictureEx inherited from CStatic category, I transform, In CPictureEx directly Packaging a window handle HWND. Suppose you in a pop-up dialog box loaded Dialog gif animation You need to be done is up in a
- 2022-07-09 13:07:36下载
- 积分:1
-
前一段时间,我开发一个有关硬件的程序,需要初始化很长时间,为了防止用户误认为程序已经死掉,必须显示一个漂亮的界面让用户没有这种误解。就像我们系统拷贝很大的文件的...
前一段时间,我开发一个有关硬件的程序,需要初始化很长时间,为了防止用户误认为程序已经死掉,必须显示一个漂亮的界面让用户没有这种误解。就像我们系统拷贝很大的文件的时候显示的窗体一样。可惜我没有找到,只有自己亲自开发了。开发一个类,继承于CWnd,很方便。代码比较简单希望有兴趣的朋友下载看看。-some time ago, I developed a hardware-related procedures, the need to initialize a very long time, in order to prevent users mistakenly believe that the procedure has survived, must show a pretty interface to let users do not have this misconception. Like our system great copy of the document shows the same window. Unfortunately, I did not find that only personally developed. The development of a class, in succession CWnd, very convenient. Hope relatively simple code are interested to see friends download.
- 2023-08-21 13:45:04下载
- 积分:1
-
installation procedures similar to the gradient background
类似安装程序的渐变背景-installation procedures similar to the gradient background
- 2022-04-02 01:05:25下载
- 积分:1
-
i2c 的一些文档,对i2c设计有很大的帮助!
i2c 的一些文档,对i2c设计有很大的帮助!-i2c some documents, the design of i2c great help!
- 2022-07-20 15:13:14下载
- 积分:1
-
Package and then write their specific functions to read and write LCD12864 contr...
文件包然后写出其具体功能LCD12864读写程序可C51控制9638-Package and then write their specific functions to read and write LCD12864 control 9638 program can be C51
- 2023-08-03 01:40:04下载
- 积分:1
-
matlab and vc
matlab 与 vc 混合编程 自带的例程-matlab and vc
- 2022-01-21 20:05:05下载
- 积分:1
-
一个使用delphi做的winsock 的别人的东西我转发一下
一个使用delphi做的winsock 的别人的东西我转发一下-a use of the protocols of doing things others forward what I
- 2022-01-26 02:38:11下载
- 积分:1
-
八皇后问题,利用了类实现,结构比较精美
八皇后问题,利用了类实现,结构比较精美-8 Queen
- 2022-01-26 07:37:27下载
- 积分:1
-
server for simcom modules.use this for communication
server for simcom modules.use this for communication
- 2022-03-23 23:02:30下载
- 积分:1
-
The program is to send Email. It is used in windows system via vc++ and it can t...
发送电子邮件程序,主要是通过vc++在windows系统上使用,测试发送邮件-The program is to send Email. It is used in windows system via vc++ and it can test sending Email.
- 2022-02-02 22:56:49下载
- 积分:1