I'm working on a .NET application for a handheld x86 device which has a 480*800 vertical screen. Everything works wonderful except when comes to a Open File / Save File design. The default OpenFileDialog
and other similar dialogs are too big in width when shown, making Open button partialy out of screen and Cancel button total out of it. Actually user can resize the dialog after it's shown, but there exists a MINIMUM SIZE with width still bigger than 480.
As far as I can see there's no way to manipulate OpenFileDialog
directly, nor to do any inheritance. The FileDialog
which OpenFileDialog
inherits from is not inheritable. And CommonDialog
looks too far away. Googling shows some commercial dialog components which has lot of functions I don't want, a hacking solution ends up with a project with at least 4 brand new classes and some Win32 APIs and messaging mechanics i don't need either.
It's very simple, I just want a simple way to fix the width of OpenFileDialog to 480 or smaller. Any way around this?