Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to show GIF file in my dialog ?

How to show GIF file in my dialog ?

Scheduled Pinned Locked Moved C / C++ / MFC
c++comtutorialquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amarelia
    wrote on last edited by
    #1

    Hi I have a dialog based MFC application which in which i need to show a GIF animation file. I want total control of at which position to show the GIF file. Is there any source file or demo available using which I can show my GIF animaiton file. Or is there any ActiveX control availabe to show this GIF file Thankx in advance Amarelia Maehsh Gujarat India

    V T K 3 Replies Last reply
    0
    • A Amarelia

      Hi I have a dialog based MFC application which in which i need to show a GIF animation file. I want total control of at which position to show the GIF file. Is there any source file or demo available using which I can show my GIF animaiton file. Or is there any ActiveX control availabe to show this GIF file Thankx in advance Amarelia Maehsh Gujarat India

      V Offline
      V Offline
      vikas amin
      wrote on last edited by
      #2

      u can get some idea at http://www.codeproject.com/staticctrl/gifanimation.asp Vikas Amin Embin Technology Bombay vikas.amin@embin.com

      A 1 Reply Last reply
      0
      • A Amarelia

        Hi I have a dialog based MFC application which in which i need to show a GIF animation file. I want total control of at which position to show the GIF file. Is there any source file or demo available using which I can show my GIF animaiton file. Or is there any ActiveX control availabe to show this GIF file Thankx in advance Amarelia Maehsh Gujarat India

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        Amarelia wrote: I have a dialog based MFC application which in which i need to show a GIF animation file. Try this Cbitmap derived Class :- http://www.codeproject.com/bitmap/extendedbitmap2.asp[^]

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV

        1 Reply Last reply
        0
        • V vikas amin

          u can get some idea at http://www.codeproject.com/staticctrl/gifanimation.asp Vikas Amin Embin Technology Bombay vikas.amin@embin.com

          A Offline
          A Offline
          Amarelia
          wrote on last edited by
          #4

          Hi vikas, You are right, I have used the same example you stated. But when I used my animation file which is littlebit larger in size, it doesn't fits into the given Static Control. How to move the GIF image at exactly 0,0 postion and show my animation properly. Thankx advance.. Amarelia Maehsh Gujarat India

          1 Reply Last reply
          0
          • A Amarelia

            Hi I have a dialog based MFC application which in which i need to show a GIF animation file. I want total control of at which position to show the GIF file. Is there any source file or demo available using which I can show my GIF animaiton file. Or is there any ActiveX control availabe to show this GIF file Thankx in advance Amarelia Maehsh Gujarat India

            K Offline
            K Offline
            Kenan Aksoy
            wrote on last edited by
            #5

            Gdiplus::DrawImage function may be useful for you.good luck ;) Her şey güzel olacak

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups