Repainting while resizing

BlitzMax Forums/BlitzMax GUI Programming/Repainting while resizing

Is there a way to repaint the contents of canvases while you resize the window? At the moment it draws trash until the resize completes (on Windows XP) then you get 20 repaint messages.