////////////////////////////////////////////////////////////////////// // PictureEx.cpp: implementation of the CPicture class. // // Picture displaying control with support for the following formats: // GIF (including animated GIF87a and GIF89a), JP
此类能显示gif动画,从别处转载 class CPictureEx : public CStatic { DECLARE_DYNAMIC(CPictureEx) public: struct TFrame // structure that keeps a single frame info { IPicture *m_pPicture; // pointer to the interface used for drawing SIZE m_frameSize; SIZE m_frameOff