Windows Explorer like thumbnail selection in a list view
-
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
-
What viewing setting in windows explorer are you referring to? There are five of them in windows xp's explorer.
Ciao, luker
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
-
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
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