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#
  4. Windows Explorer like thumbnail selection in a list view

Windows Explorer like thumbnail selection in a list view

Scheduled Pinned Locked Moved C#
tutorialquestion
4 Posts 2 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.
  • 9 Offline
    9 Offline
    9ine
    wrote on last edited by
    #1

    By default selecting an item in a list view with large icon mode makes the selected item thumb grayish. How to provide thumbnail selection display as in windows explorer?

    9ine

    L 1 Reply Last reply
    0
    • 9 9ine

      By default selecting an item in a list view with large icon mode makes the selected item thumb grayish. How to provide thumbnail selection display as in windows explorer?

      9ine

      L Offline
      L Offline
      lukeer
      wrote on last edited by
      #2

      What viewing setting in windows explorer are you referring to? There are five of them in windows xp's explorer.

      Ciao, luker

      9 1 Reply Last reply
      0
      • L lukeer

        What viewing setting in windows explorer are you referring to? There are five of them in windows xp's explorer.

        Ciao, luker

        9 Offline
        9 Offline
        9ine
        wrote on last edited by
        #3

        When the list view in large icon mode and you hover the mouse over the item thumbnail or select it you will see significant difference with list view of large icons in visual studio. In visual studio list view when you select item entire thumbnail becomes gray. I want selected item to look the same as in windows explorer.

        9ine

        L 1 Reply Last reply
        0
        • 9 9ine

          When the list view in large icon mode and you hover the mouse over the item thumbnail or select it you will see significant difference with list view of large icons in visual studio. In visual studio list view when you select item entire thumbnail becomes gray. I want selected item to look the same as in windows explorer.

          9ine

          L Offline
          L Offline
          lukeer
          wrote on last edited by
          #4

          In my Windows Explorer, there are five viewing modes: Miniature, Tiles, Symbols, List, Details, in that order. The only view the selected icon doesn't get some kind of "overlayed" with the selection color is "Miniature". Instead, a frame in selection color is painted around the icon. This view doesn't seem to be supported by ListView out of the box. But you could - set View = System.Windows.Forms.View.Tile; - set TileSize = YourPreferredTileSize; - Set OwnerDraw = true; - override OnDrawItem() and draw icons in whichever way you want them to appear. (Inspired by http://www.tutorials.de/net-windows-forms/307597-c-explorer-listview-mit-miniaturansicht.html)

          Ciao, luker

          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