Change OpenFileDialog Size (width and height)

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

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
 
Jason said:
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.
 
Jason said:
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.
 
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
 
Back
Top