OpenFileDialog with setting View mode to small icon
-
I want show my image files when my OpenFileDialog Find File in showing InisialDirectory... OpenFileDialog sp = new OpenFileDialog(); sp.InisialDicrectory = dir; list View mode or detail View mode doesn't show image. I need the small icon view mode. I tried DirectoryInfo but got no solution. It maybe a option for windows expolerer or a option for a Directory? I searched google but I didn't get it. somewhere must be a solution for this. help apprcieate. thanks.
-
I want show my image files when my OpenFileDialog Find File in showing InisialDirectory... OpenFileDialog sp = new OpenFileDialog(); sp.InisialDicrectory = dir; list View mode or detail View mode doesn't show image. I need the small icon view mode. I tried DirectoryInfo but got no solution. It maybe a option for windows expolerer or a option for a Directory? I searched google but I didn't get it. somewhere must be a solution for this. help apprcieate. thanks.
Hi, I vaguely remember either a CodeProject article or a discussion thread on this very topic, I guess dated early 2007. Bottom line is there is no .NET support for this, if you really need it, you have to figure out the window hierarchy of all the components in an OpenFileDialog, then send some messages to the button window that controls the list view. Not really simple to do. :)
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.