hello everyone:
i want to display a .gif in winform(platform:wince),can you give me some suggestions?i have realized this function in winxp.
thanks all of you.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Felipe RamosRank #1,409 · 1.2K reputationPosted Sep 7, 2010, 8:25 PM EDT
http://en.wikipedia.org/wiki/Graphics_Interchange_Format
http://bloggingabout.net/blogs/rick/archive/2005/05/10/3830.aspx
Felipe RamosRank #1,409 · 1.2K reputationPosted Sep 6, 2010, 7:29 PM EDT
chen rui8 reputationPosted Sep 6, 2010, 7:46 PM EDT
1.the language i use is c#.
2.i have realized the function that display the gif picture by drawing the screen directly.
3.But now i want to realize the function in the platform of wince.i have used picturebox control ,but it can display only one frame.
so can you have another suggestions for me to solve the problem.
Felipe RamosRank #1,409 · 1.2K reputationPosted Sep 7, 2010, 7:02 AM EDT
This should work automatically
Image gifImage = Image.FromFile(path); FrameDimension dimension = new FrameDimension(gifImage.FrameDimensionsList[0]); int frameCount = gifImage.GetFrameCount(dimension); gifImage.SelectActiveFrame(dimension, index); Check this out http://www.vcskicks.com/csharp_animated_gif.php if you have more questions.chen rui8 reputationPosted Sep 7, 2010, 4:47 PM EDT
i have used picturebox,but it shows only one frame.In wince ,i have found fewer attributes suppoted.
chen rui8 reputationPosted Sep 7, 2010, 11:16 PM EDT