Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I change the title of my FolderBrowserDialog?

Tags:

I'm curious and it could give my little app a nice finishing touch. Thanks!

like image 811
Sergio Tapia Avatar asked Aug 19 '09 02:08

Sergio Tapia


1 Answers

You can't if you use the class FolderBrowserDialog directly. But I read somewhere that it could be possible to change the title with P/Invoke and sending WM_SETTEXT message.

In my opinion, it is not worth the pain. Just use the property Description to add the information:

FolderBrowserDialog dlg = new FolderBrowserDialog(); dlg.Description = "Select the document folder"; 
like image 194
Francis B. Avatar answered Sep 28 '22 09:09

Francis B.