care to elaborate a little Magos
would he be looking at adding an event here to capture any mouse interaction on that dialog and then modify the property of the 'Description' string?
im curious now too.
care to elaborate a little Magos
would he be looking at adding an event here to capture any mouse interaction on that dialog and then modify the property of the 'Description' string?
im curious now too.
If no C# functions exists for this (All forms usually have a Controls attribute, but the special dialogs seems to lack it) then you could write a DllImport extern function for these operations: http://www.codeproject.com/KB/dialog/EnumControls.aspx
...or something. What do I know, I'd never try to break an existing class beyond what it was meant to do
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
i have a feeling you won't be able to change it. something as 'simple' as this should very quick to figure out if it's possible or not. and it looks like it's not possible.
you could try the win32 call to SHBrowseForFolder(...)
check this out: http://pinvoke.net/default.aspx/shel...ForFolder.html
yeah, SHBrowseForFolder works. the sample code on pinvoke.net isn't 100% working. you need to fix up the OnBrowseEvent method, and add another p/invoke signature for SHGetPathFromIDListW and you're set!
A refresh of the node and key-list is required if a new director has been selected.
So i need to add an event here to capture any mouse interaction on that dialog and then modify the property of the 'Description' string\property?
Is there any event handler which does this functionality?
The FolderBrowserDialog is very inflexible and cannot do what you want. An alternative FolderBrowserDialog exists in Shell MegaPack : (Windows Explorer-Like File & Folder Browser Controls & Components For .Net, WPF & ActiveX)) which can do this.