Resize Folder Browser Dialog
I have an app that displays a folder browser dialog. Before displaying it I would like to set its size but I cannot find any methods or attribute that will allow me to do so, either in the object itself or any class that it inherits from.
But I'm new to vb.net and the whole .net framework, so I might be missing something.
The only solution I can think of is to use the SetWindowPos windows function. Before I go down that road, can anyone verify that it is not otherwise possible to programmatically resize the dialog?
If it's not possible, then in vb.net to use a windows library method, do I declare it like this:
Code:
Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
and use it, or does .net offer another way to access the windows library?
Thanks. I hope all this made sense.
Re: Resize Folder Browser Dialog
See here http://www.tech-archive.net/Archive/.../msg00060.html
This is C# Project but might get you going. The attachment is actually a zip file containing the project.
Re: Resize Folder Browser Dialog
Hi bulldog,
I'll take a look.
thanks and regards