Archive: How to get Browse Dir Dialog from Button Click?


How to get Browse Dir Dialog from Button Click?
Hi,
I am using Text and Button boxes instead of DirRequest. How can i get Directory Browse Dialog from Button? What statement i have to add in its Notify handing?

Couild any one help?
Cheers/
Krishna


You'd need to use the System plugin to bring it up. I'm not sure the exact code, but brainsucker made the code a long time ago that didn't actually work properly.

-Stu


Actually, an easier solution would be to use a DirRequest control, and to hide the text box with SendMessage, and to perhaps resize it using the System plugin and also to change the text inside the browse button using SendMessage too.

Still a lot of work though lol

-Stu


It seems to me InstallOptionsEx's button with DIRREQUEST flag can do it.