FlushEvents()?
BlitzMax Forums/MaxGUI Module/FlushEvents()?
| ||
Pretty much all in the title. Is there a FlushEvents() equivalent that'd give me a way to clear all the MaxGUI events in the queue? Or is this like asking if there's a way to remove the wheels on a car, i.e. possible but actually useless? |
| ||
There is a "DispatchGuiEvents()" - which dispatches all and then clears the list. You might also open up maxgui.mod/maxgui.mod/events.bmx and then add your own "FlushEvents()" (eg. only emptying the list) bye Ron |
| ||
To clear all events you could use: While PollEvent() Wend |