How to find users with common interests?
Re: Filter what the FolderBrowserDialog shows?
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > .Net Development > Re: Filter what the FolderBrowserDialog­ shows? 12 November 2008 06:15:24

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Re: Filter what the FolderBrowserDialog­ shows?

Peter Ritchie 12 November 2008 06:15:24
 FolderBrowserDialog is a wrapper for SHBrowseForFolder which does support
custom filtering; but FolderBrowserDialog­ doesn't implement that
particular feature. You'd have to re-write FolderBrowserDialog­ to do what
you want. Even if it wasn't sealed you'd have to re-write most of code
(RunDialog override and the callback method) anyway.

http://msdn2.micros­oft.com/en-us/librar­y/ms647664.aspx describes the
detail of FolderBrowseDialog and the use of the IFilterSite interface to
do the custom filtering. Arik Poznanski wrote a series of articles on
shell programming in C# that included a bit of detail on custom filters in
the first of the series:
http://www.codeproj­ect.com/csharp/csdoe­sshell1.asp.

HTH

On Mon, 27 Aug 2007 14:11:03 -0600, Bhatnagar, Amit
<Amit.Bhatnagar@GDC­ANADA.COM> wrote:

Using the FolderBrowserDialog­, is there a way to filter what directories
that it shows? For example, say I only want the user to pic folders that
end in the word "Mail" or something. If the FolderBrowserDialog­ doesn't
support this, would I have to create a custom folder picker and filter
the list manually?

Add comment
Guest 12 November 2008 06:15:24 permanent link ]
 Alternative take a look at FolderView.Net control from http://www.ssware.c­om

It is powerful and includes the filtering features that you want. But its commercial.
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > .Net Development > Re: Filter what the FolderBrowserDialog­ shows? 12 November 2008 06:15:24

see also:
[Installation & Configuration] - Re…
Jboss 4. scheduler/Timer
[Installation & Configuration] - Re…
пройди тесты:
see also:
General Refill Instructions

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .