Posted: Fri Oct 31, 2003 6:36 pm
> Ok, as pointed by Danilo on IRC, painting directly on the Window
> is bad as the debugger erase it... Use an ImageGadget() to get
> a refresh persistent image...
i agree with you that painting on the window might not be the wisest thing to do, but that doesn't explain the strange behaviour
1. it works when done indirectly (not to the screen)
2. it works when the debugger is off
3. it works if those unneccesary lines are added
4. bitblit works anyway
and, if i understood correctly, drawing directly to the screen is acceptable, there's simply no guarantee it stays visible
personally, i think there's something weird with the debugger... i mean, using an imagegadget is, on a low level, a call to bitblt as well, isn't it?
> is bad as the debugger erase it... Use an ImageGadget() to get
> a refresh persistent image...
i agree with you that painting on the window might not be the wisest thing to do, but that doesn't explain the strange behaviour
1. it works when done indirectly (not to the screen)
2. it works when the debugger is off
3. it works if those unneccesary lines are added
4. bitblit works anyway
and, if i understood correctly, drawing directly to the screen is acceptable, there's simply no guarantee it stays visible
personally, i think there's something weird with the debugger... i mean, using an imagegadget is, on a low level, a call to bitblt as well, isn't it?