SkipWindowEvent() ?

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Justin
Addict
Addict
Posts: 948
Joined: Sat Apr 26, 2003 2:49 pm

SkipWindowEvent() ?

Post by Justin »

Would be the equivalent of exiting the window callback, that is finish the process of the current message and wait for the following. it can save a lot of silly code and nested structures trying to decide if continue or not with the current event. the PB event loop is not inside a function, i don't know if it could be possible to exit all the current structures cleanly.