By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,695 Members | 1,284 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,695 IT Pros & Developers. It's quick & easy.

Change OpenFileDialog Size (width and height)

P: n/a
Hi,

I am developing .NET 1.1 desktop application, I want to pop up a
OpenFileDialog that has a large Width and Height.

However, there is no accessible OpenFileDialog.Width and
OpenFileDialog.Height or OpenFileDialog.Size to set. So how to change the
size of the dialog once it is poped up?

Thanks,
Jason
Sep 14 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Jason wrote:
Hi,

I am developing .NET 1.1 desktop application, I want to pop up a
OpenFileDialog that has a large Width and Height.

However, there is no accessible OpenFileDialog.Width and
OpenFileDialog.Height or OpenFileDialog.Size to set. So how to change the
size of the dialog once it is poped up?
The OpenFileDialog internally calls the GetOpenFileName API. The docs
for that API seem to indicate that sizing the dialog is not supported.

If you need to have it sizeable, you may have to roll your own.

I looked around on Google and could not find a re-sizeable dialog.

Sep 14 '06 #2

P: n/a

Jason wrote:
Hi,

I am developing .NET 1.1 desktop application, I want to pop up a
OpenFileDialog that has a large Width and Height.

However, there is no accessible OpenFileDialog.Width and
OpenFileDialog.Height or OpenFileDialog.Size to set. So how to change the
size of the dialog once it is poped up?

Thanks,
Jason
The open file dialog is sizeable, but the user must size it themselves.

Sep 14 '06 #3

P: n/a
Hi,

You can resize your Open/Save dialogs using our Dialog Workshop .NET.
Our powerful Open/Save dialogs allows you to specify initial dilaog
size and position, dock your own Windows Forms to the original dialog
window, etc.

Please visit http://www.componentage.com for details.

Best regards,
Alex Petrov
COMPONENTAGE Software
Jason wrote:
Hi,

I am developing .NET 1.1 desktop application, I want to pop up a
OpenFileDialog that has a large Width and Height.

However, there is no accessible OpenFileDialog.Width and
OpenFileDialog.Height or OpenFileDialog.Size to set. So how to change the
size of the dialog once it is poped up?

Thanks,
Jason
Sep 18 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.