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 add preview for my own filetype in Windows XP explorer?

How to add preview for my own filetype in Windows XP explorer?

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
5 Posts 3 Posters 2 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.
  • E Offline
    E Offline
    Erik
    wrote on last edited by
    #1

    Hi, when I have videofiles or JPEG-pictures displayed in "Large Icon" mode in XP explorer, I get a detailed preview for each single file, showing its content. I'd like to have the same for my own custom filetype that my application uses. I have already googled, but keep failing to get the right keyword to use how I can do that myself, using VC++ and MFC. Do you have any suggestions? Thanks alot!

    K C 2 Replies Last reply
    0
    • E Erik

      Hi, when I have videofiles or JPEG-pictures displayed in "Large Icon" mode in XP explorer, I get a detailed preview for each single file, showing its content. I'd like to have the same for my own custom filetype that my application uses. I have already googled, but keep failing to get the right keyword to use how I can do that myself, using VC++ and MFC. Do you have any suggestions? Thanks alot!

      K Offline
      K Offline
      KarstenK
      wrote on last edited by
      #2

      it is somethink with Shell, it will be really annoying and awksame. I have read (here) that it got chnaged between XP and Vista/7. look here and search preview: http://msdn.microsoft.com/en-us/library/bb774328(VS.85).aspx[^] Remember: it is a minefield and YOU WILL GET BLOWED (that the truth) Please write an article about your project in teh summer of 2010 :cool:

      Press F1 for help or google it. Greetings from Germany

      E 1 Reply Last reply
      0
      • E Erik

        Hi, when I have videofiles or JPEG-pictures displayed in "Large Icon" mode in XP explorer, I get a detailed preview for each single file, showing its content. I'd like to have the same for my own custom filetype that my application uses. I have already googled, but keep failing to get the right keyword to use how I can do that myself, using VC++ and MFC. Do you have any suggestions? Thanks alot!

        C Offline
        C Offline
        Code o mat
        wrote on last edited by
        #3

        Maybe take a look at this[^] for starters.

        > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

        1 Reply Last reply
        0
        • K KarstenK

          it is somethink with Shell, it will be really annoying and awksame. I have read (here) that it got chnaged between XP and Vista/7. look here and search preview: http://msdn.microsoft.com/en-us/library/bb774328(VS.85).aspx[^] Remember: it is a minefield and YOU WILL GET BLOWED (that the truth) Please write an article about your project in teh summer of 2010 :cool:

          Press F1 for help or google it. Greetings from Germany

          E Offline
          E Offline
          Erik
          wrote on last edited by
          #4

          Hi, thanks alot, but I think that's not what I really need, I want a thumbnail preview in explorer that Windows XP already offers for variuos filetypes, for example JPEG pictures: when I set the view to icons or tiles in explorer, I see a real preview of the image inside. My application is some sort of a CAD program with its own filetype, and I would like to render preview thumbnails the same way. How is it done in explorer? How can I make it work the same way as for JPEGs in XP and Vista?

          K 1 Reply Last reply
          0
          • E Erik

            Hi, thanks alot, but I think that's not what I really need, I want a thumbnail preview in explorer that Windows XP already offers for variuos filetypes, for example JPEG pictures: when I set the view to icons or tiles in explorer, I see a real preview of the image inside. My application is some sort of a CAD program with its own filetype, and I would like to render preview thumbnails the same way. How is it done in explorer? How can I make it work the same way as for JPEGs in XP and Vista?

            K Offline
            K Offline
            KarstenK
            wrote on last edited by
            #5

            i stronglc recommand you to dig deeply in the Shell and IE programming of the famous Michael Dunn: http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=152[^] I know less than that.

            Press F1 for help or google it. Greetings from Germany

            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