On approximately 1/16/2004 8:26 AM, came the following characters from
the keyboard of Stephen Pick:
You must handle all scrolling yourself, as i've said a million times. I
will look into MDIs when I have the time; win32::gui already seems to
have an MDI object but I'm unsure of what it does.
I'll add a note here... I have an app using a Win32::GUI::MDI window, in
which I have added a label bitmap, and when the bitmap is larger than
the MDI window scroll bars appear, and are active, with no coding on my
part except the creation of the window, and the choice of specifically
sized bitmaps to put inside the window.
The scroll bars retain their state when different bitmaps of different
sizes are swapped in, and I haven't figured out if there even is a way
to "clear" that state.
The scroll bars disappear if the bitmap is small enough.
The scroll bars come back when needed.
The scroll bars consume space within the MDI window when they appear,
but not when they don't. If an old image bigger than the MDI window is
replaced by a new image smaller than the MDI window, but big enough it
consumes more space than the is available when the scroll bars are
displayed, and the scroll bars are not selecting the top left corner of
the display, the scroll bars don't go away. Have I seen them go away
when they are finally scrolled to the top left corner by the user? I
think so. Seems like they should go away immediately, though.
Old memories, now, though, so some of this may be a little inaccurate.
Seems like this sort of thing could be improved, by someone that knows
more about Win32 programming than I have learned so far.
--
Glenn -- http://nevcal.com/
===========================
The best part about procrastination is that you are never bored,
because you have all kinds of things that you should be doing.