09-13-2016, 03:45 AM
Most painting in windows occurs asynchronously, when the window gets WM_PAINT. But it cannot get messages if blocked by some calculations or wait, unless the calculation processes messages or the wait is preceded by opt waitmsg 1.
for i 0 1000
,0 ;;'wait 0' means "process messages"
,...
But in most cases it's better to do that calculations in another thread.
for i 0 1000
,0 ;;'wait 0' means "process messages"
,...
But in most cases it's better to do that calculations in another thread.
