Canvases don't redraw on resize/move.

BlitzMax Forums/BlitzMax Programming/Canvases don't redraw on resize/move.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The code stops when the window moves. Why would event hooks continue to be called?


The code doesn't stop when it's all eventhooked. Have a timer in a type that redraws its (type-)canvas with some effect, and the effect simply continues when you drag this window around. It ofcourse _doesn't_ continue when you don't use eventhooks, do it all with the global EventID() stuff, then things only work when you stop dragging around. Hence: eventhooks and eventhooked types