I have a form/view MFC application. I need to be
able to dynamically shrink the window. I am able to
resize the window, however the window ends up
automatically getting scrollbars added. It appears that
the actual viewable area (which is now scrollable) has
not changed. How can I shrink the viewable area also so
that the scrollbars do not appear.
I can't simply make the window not have scrollbars because
I want the scrollbars to appear if the user manually
changes the size of the window.