beaglebuddy
May 12th, 1999, 04:23 PM
I have a window with scrollbars on it, in which I draw a bitmap. Everything works fine until the bitmap is scrolled out of view, and then back in. It simply disappears. Has anyone ever run into this before.
|
Click to See Complete Forum and Search --> : Bitmap beaglebuddy May 12th, 1999, 04:23 PM I have a window with scrollbars on it, in which I draw a bitmap. Everything works fine until the bitmap is scrolled out of view, and then back in. It simply disappears. Has anyone ever run into this before. Paul McKenzie May 12th, 1999, 04:31 PM Check your WM_PAINT, WM_VSCROLL, and WM_HSCROLL handlers (you need them to accomplish what you are trying to do). They should be called whenever the bitmap needs to be drawn if scrolling takes place. You may have also miscalculated something in the redrawing of the bitmap given the current scroll position. Regards, Paul McKenzie codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |