Canvas empty after full-screen
BlitzPlus Forums/BlitzPlus Programming/Canvas empty after full-screen
| ||
I have a window with a canvas and an image drawn on it. I noticed that when I go full-screen (with Graphics command), when I go back (EndGraphics) the canvas of the window is empty. Maybe have I to store the image in system memory ? Or is it normal that the image is lost ? Thank you. |
| ||
Sounds normal. Windows aren't automatically redrawn. You need to keep drawing to the canvas or capture a repaint event (I think it's repaint) and redraw when that happens. I'm too used to VB where it's all done for me. :) Maybe someone can tell you the exact procedure, but I think that's the general idea. |
| ||
Thank you. Yes, I just wanted to know if that was correct, I know Windows doesn't redraw visual objects (like for example AmigaOS does), but Blitz adds some facilities.. like automatic resizing of gadgets, so I thought maybe it could do that redraw. |