mfc >> gif control

by Arek » Tue, 14 Mar 2006 03:22:26 GMT

Hello,
Do you know GIF animation control, that one could be put on
dialog box or toolbar? I use ms AVI control now, but have some background
transparency problem.
thanks




mfc >> gif control

by Ajay Kalra » Tue, 14 Mar 2006 03:30:06 GMT


Here are some examples:

http://www.codeproject.com/bitmap/pictureex.asp
http://msdn.microsoft.com/msdnmag/issues/01/10/c/

-------
Ajay Kalra
XXXX@XXXXX.COM




mfc >> gif control

by Arek » Tue, 14 Mar 2006 04:11:16 GMT

that's what I needed it - IPicture interface.
thanks a lot.







gif control

by Ajay Kalra » Tue, 14 Mar 2006 04:15:17 GMT

IPicture will work but keep in mind that using GDI+ is comparatively
much easier.

-------
Ajay Kalra
XXXX@XXXXX.COM



gif control

by Tom Serface » Tue, 14 Mar 2006 06:32:25 GMT

This library includes CPictureCtrl (I use this one) that is very easy to
use. I'm not sure it would work on a regular toolbar though. I think you
need to use bitmaps for that one:

http://dilascia.com/PixieLib.asp

Tom






gif control

by Ajay Kalra » Tue, 14 Mar 2006 22:49:54 GMT

I have used this before. I did not know he updated it. It will require
some work on part of OP after reading it in CPictureCtrl. OP will need
to insert this control in toolbar.

Also, its not free(if thats a factor).

------
Ajay Kalra
XXXX@XXXXX.COM



gif control

by Tom Serface » Tue, 14 Mar 2006 23:28:09 GMT

Hi Ajay,

For $39 you get a ton of useful examples, most of them previously published
in magazines. It's a pretty fair deal :o)

Tom







Similar Threads

1. ASP.NET + C# + TabletPC ActiveX Control + JavaScript = Base64 to GIF

2. Gif in Picture control

3. Insert GIF animated to RichEdit control....Could You Help Me Please

I have a problem on inserting a GIF to richedit, the problem is not
viewing it, but it is playing it at richedit.
I have a class that can play GIF animation, and I have converted it to
an activeX, if I could pass this object to richedit control, and there
I call its method so it can animated, do you have any suggestions on
this.

I wonder how MSN 6.0 plays EmotIcons.
if you have other solutions, please help me on it.

4. How To Insert Gif Ani at Richedit Control ?

5. Animated Gif's in RichEdit Control

Hai
  Iam looking to insert Animated Giffs into my rich edit control and please
let me know is there any way of doing it
               Waiting for your reply
                        suresh


6. How can I put a transparent GIF over an other GIF in a Windows FORM ? - CSharp/C#

7. Changing image dimensions and saving as a gif - comments much appreciated

Hi,

    Hope you can help me wit this one. I have to open either a ".jpg",
".bmp" or a "gif" and alter its dimensions and save the output as
a .gif.

    Here is my attempt - I would greatly appreciate any comments/
suggestions/hints/things-to-be-award-of that you may like to offer
me:-

***** BEGIN CODE *****
//Firstly open the file into an image object
System.Drawing.Image img = Image.FromFile(fileName);

//Convert to bitmap with correct dimensions:
System.Drawing.Image newSizeImage = new Bitmap(img, 440, 60);

//Now convert the bitmap to a.gif
reSizeImage.Save("a.gif", System.Drawing.Imaging.ImageFormat.Gif);

****** END CODE ******

The only thing I notice is that the gif result looks a bit light. That
why I want some review of this approach. Perhaps I'm missing/
overlooking something - so any comments/suggestions that you may like
to offer me would be most appreciated.

Thanks in advance,
Al.

8. How to save a .GIF - "interlaced" ? - CSharp/C#