MDIParent's scroll bars
-
How to avoid MDIParent showing scroll bars whenever the child form exceeds client area? Setting MDIParent.AutoScroll to false doesn't help.
-
How to avoid MDIParent showing scroll bars whenever the child form exceeds client area? Setting MDIParent.AutoScroll to false doesn't help.
It wouldn't. Why would you want to do this? Suppose I have a form that I've moved right to the bottom right hand corner of my screen and the main form is maximized. Then, suppose that I have changed the resolution of my monitor down from 1024 to 800*600, all of a sudden there's a form that is hidden from me and I couldn't get at it because there are no scroll bars to help me get to it. There are carefully thought out reasons for the way that Windows usually works and users are used to them. If you try to break the behaviour in any way you run the risk of alienating your users.
Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.
-
It wouldn't. Why would you want to do this? Suppose I have a form that I've moved right to the bottom right hand corner of my screen and the main form is maximized. Then, suppose that I have changed the resolution of my monitor down from 1024 to 800*600, all of a sudden there's a form that is hidden from me and I couldn't get at it because there are no scroll bars to help me get to it. There are carefully thought out reasons for the way that Windows usually works and users are used to them. If you try to break the behaviour in any way you run the risk of alienating your users.
Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.
> Why would you want to do this? I'm designing an imaging application. Both Photoshop and Paint Shop PRO does not show scroll bars in their MDI-based environment. > If you try to break the behaviour in any way you run the risk of alienating your users. So in this case and in my opinion - not showing the scroll bars is the "more" standard behaviour. The whole problem should be solved via the MDIClient, but I don't even know where to start.
-
> Why would you want to do this? I'm designing an imaging application. Both Photoshop and Paint Shop PRO does not show scroll bars in their MDI-based environment. > If you try to break the behaviour in any way you run the risk of alienating your users. So in this case and in my opinion - not showing the scroll bars is the "more" standard behaviour. The whole problem should be solved via the MDIClient, but I don't even know where to start.
I'll look more carefully, later. There is the solution . But not a managed solution.
-
I'll look more carefully, later. There is the solution . But not a managed solution.
There is no managed solution. This behavior of the MdiClient control is by design. It's standard behavior in document, more specifically text editor, editing. Image editing is a whole different kind of MDI setup. Both the applications you mentioned do NOT use the managed MDIClient in the .NET Framework. They both use their own, custom-built, MDI containers.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007