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. OpenFileDialog with setting View mode to small icon

OpenFileDialog with setting View mode to small icon

Scheduled Pinned Locked Moved C#
sharepointhelpquestion
2 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.
  • A Offline
    A Offline
    arbrsoft
    wrote on last edited by
    #1

    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.

    L 1 Reply Last reply
    0
    • A arbrsoft

      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.

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      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.


      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