It seems to be a sort of a random event to me as well.
I'm thinking that it freezes at the event handler, and so never reaches the check at the bottom of the loop.
Edit:
I should stop solving these myself. It feels undignified :D
Thanks a lot for the help. I wouldn't have figured this out otherwise. Actually, I still haven't figured it out :)
Anyway, through a long and horrible struggle through miles and miles of random typing, I managed to make it work, strangely by turning the blitz runtime window's style to WS_POPUP, hiding it to avoid artifacts, and then showing it again when all the sizing bother was dealt with...
I guess this was my first ever real bug :D (well, the MAVs just feel a bit too boring to be considered bugs)
I'm thinking that it freezes at the event handler, and so never reaches the check at the bottom of the loop.
Edit:
I should stop solving these myself. It feels undignified :D
Thanks a lot for the help. I wouldn't have figured this out otherwise. Actually, I still haven't figured it out :)
Anyway, through a long and horrible struggle through miles and miles of random typing, I managed to make it work, strangely by turning the blitz runtime window's style to WS_POPUP, hiding it to avoid artifacts, and then showing it again when all the sizing bother was dealt with...
I guess this was my first ever real bug :D (well, the MAVs just feel a bit too boring to be considered bugs)