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. Windows ThumbNail

Windows ThumbNail

Scheduled Pinned Locked Moved C / C++ / MFC
questiongraphics
12 Posts 5 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.
  • 0 Offline
    0 Offline
    002comp
    wrote on last edited by
    #1

    Hello Friends I want to display thumbails for my Files in the same way as windows does for .jpeg and other bitmap images. I want to know how windows display them means it uses some bitmap images or some dtabase to display them. I m having all the bitmap data that i want to display as thumbnail for my files but how do i use that windows display them as thumbnail? Thanks in Advance Regards Yogesh

    A N N L 4 Replies Last reply
    0
    • 0 002comp

      Hello Friends I want to display thumbails for my Files in the same way as windows does for .jpeg and other bitmap images. I want to know how windows display them means it uses some bitmap images or some dtabase to display them. I m having all the bitmap data that i want to display as thumbnail for my files but how do i use that windows display them as thumbnail? Thanks in Advance Regards Yogesh

      A Offline
      A Offline
      Adam Roderick J
      wrote on last edited by
      #2

      Use a CListCtrl and set as icons(LVS_ICON), now you can show the thumbnail image.

      Величие не Бога может быть недооценена.

      0 1 Reply Last reply
      0
      • A Adam Roderick J

        Use a CListCtrl and set as icons(LVS_ICON), now you can show the thumbnail image.

        Величие не Бога может быть недооценена.

        0 Offline
        0 Offline
        002comp
        wrote on last edited by
        #3

        I dont want to display icons n list control.I want how to display as thumbnail. And I m using only win32.

        0 1 Reply Last reply
        0
        • 0 002comp

          I dont want to display icons n list control.I want how to display as thumbnail. And I m using only win32.

          0 Offline
          0 Offline
          002comp
          wrote on last edited by
          #4

          I m asking how i can display it as thumbnail.how window will recognize that this bmp is for mine file format?

          A 1 Reply Last reply
          0
          • 0 002comp

            I m asking how i can display it as thumbnail.how window will recognize that this bmp is for mine file format?

            A Offline
            A Offline
            Adam Roderick J
            wrote on last edited by
            #5

            I don't understand dear. Whether you want to display a bitmap as thumbnail in your window?

            Величие не Бога может быть недооценена.

            0 1 Reply Last reply
            0
            • A Adam Roderick J

              I don't understand dear. Whether you want to display a bitmap as thumbnail in your window?

              Величие не Бога может быть недооценена.

              0 Offline
              0 Offline
              002comp
              wrote on last edited by
              #6

              yes,I want to display a bitmap as thumbnail in window.and I m using the win32 and c++.

              A 1 Reply Last reply
              0
              • 0 002comp

                Hello Friends I want to display thumbails for my Files in the same way as windows does for .jpeg and other bitmap images. I want to know how windows display them means it uses some bitmap images or some dtabase to display them. I m having all the bitmap data that i want to display as thumbnail for my files but how do i use that windows display them as thumbnail? Thanks in Advance Regards Yogesh

                N Offline
                N Offline
                Nishad S
                wrote on last edited by
                #7

                See this[^]

                - ns ami -

                L 1 Reply Last reply
                0
                • 0 002comp

                  Hello Friends I want to display thumbails for my Files in the same way as windows does for .jpeg and other bitmap images. I want to know how windows display them means it uses some bitmap images or some dtabase to display them. I m having all the bitmap data that i want to display as thumbnail for my files but how do i use that windows display them as thumbnail? Thanks in Advance Regards Yogesh

                  N Offline
                  N Offline
                  neil kuo
                  wrote on last edited by
                  #8

                  If you'd like to show your file as a picture in explorer's thumbnail mode, maybe you can fill the 'zoomed' image data(bmp/jpg/...) in file header. ;P

                  1 Reply Last reply
                  0
                  • 0 002comp

                    yes,I want to display a bitmap as thumbnail in window.and I m using the win32 and c++.

                    A Offline
                    A Offline
                    Adam Roderick J
                    wrote on last edited by
                    #9

                    You have 2 options 1. Draw the thumbnail from bitmap using DC in the dialog, if you dont like to use CListCtrl. 2. As suggested, you can use ListCtrl, as suggested ns ami.

                    Величие не Бога может быть недооценена.

                    1 Reply Last reply
                    0
                    • 0 002comp

                      Hello Friends I want to display thumbails for my Files in the same way as windows does for .jpeg and other bitmap images. I want to know how windows display them means it uses some bitmap images or some dtabase to display them. I m having all the bitmap data that i want to display as thumbnail for my files but how do i use that windows display them as thumbnail? Thanks in Advance Regards Yogesh

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      Windows uses Win32 COM (Thumbnails interfaces) You can ask on Adv. Win32 api newsgroup : news://nntp.aioe.org/comp.os.ms-windows.programmer.win32 or http://groups.google.com/group/comp.os.ms-windows.programmer.win32/topics?lnk=srg for official code (MS) to display thumbnails.

                      1 Reply Last reply
                      0
                      • N Nishad S

                        See this[^]

                        - ns ami -

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #11

                        Horrible and wrong method. The right method is with COM.

                        N 1 Reply Last reply
                        0
                        • L Lost User

                          Horrible and wrong method. The right method is with COM.

                          N Offline
                          N Offline
                          Nishad S
                          wrote on last edited by
                          #12

                          :)

                          - ns ami -

                          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