文件名称:LoadGif
介绍说明--下载内容来自于网络,使用问题请自行百度
目前在网上有一个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 dialog box controls can be BUTTON, STATIC, and so on. Suppose you added in the control ID is IDC_FLASH, your dialog window handle is hDlg, CPictureEx w
由于原来的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 dialog box controls can be BUTTON, STATIC, and so on. Suppose you added in the control ID is IDC_FLASH, your dialog window handle is hDlg, CPictureEx w
(系统自动生成,下载前可以参看下载内容)
下载文件列表
LoadGif/CloseBook.gif
LoadGif/LoadGif.cpp
LoadGif/LoadGif.dsp
LoadGif/LoadGif.dsw
LoadGif/LoadGif.h
LoadGif/LoadGif.ico
LoadGif/LoadGif.rc
LoadGif/OpenBook.gif
LoadGif/PictureEx.cpp
LoadGif/PictureEx.h
LoadGif/ReadMe.txt
LoadGif/resource.h
LoadGif/small.ico
LoadGif/StdAfx.cpp
LoadGif/StdAfx.h
LoadGif
www.dssz.com.txt
LoadGif/LoadGif.cpp
LoadGif/LoadGif.dsp
LoadGif/LoadGif.dsw
LoadGif/LoadGif.h
LoadGif/LoadGif.ico
LoadGif/LoadGif.rc
LoadGif/OpenBook.gif
LoadGif/PictureEx.cpp
LoadGif/PictureEx.h
LoadGif/ReadMe.txt
LoadGif/resource.h
LoadGif/small.ico
LoadGif/StdAfx.cpp
LoadGif/StdAfx.h
LoadGif
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.