3

Is it possible to filter openFileDialog in C# only for 24-bit Bitmaps ?

Kurubaran
  • 8,696
  • 5
  • 43
  • 65
Sudantha
  • 15,684
  • 43
  • 105
  • 161
  • 2
    see http://stackoverflow.com/questions/937061/filtering-the-files-shown-in-openfiledialog-based-on-content – Bala R May 20 '11 at 17:08

1 Answers1

1

As far as I know, no. It might be possible to add a filter for this to the Windows Explorer (using rootkit strategies) but this doesn't sound very valueable nor useful for a real world application. Your best bet is allowing the user to pick an image and then checking it right after closing the dialog window.

Mario
  • 35,726
  • 5
  • 62
  • 78