In another thread there was a brief comment about using DoEvents to keep this system message box from popping up.
I've discovered that if someone repeatedly presses a key quickly (from a "real" keyboard) which generates an event with a sub that the message will pop up. If you put a DoEvents in that sub, then the application exits as many DoEvents happen very quickly and I'm thinking that causes a problem since it exits.
There seems to be a timing issue with regards to how often you send a DoEvents command. And also, how often a keypress activity happens.
Now, why would somebody repeatedly press a key? Good question. They would if they are frustrated waiting for something to happen or a kid playing around with a "kiosk" type of application.
So, I am wondering if a Java library could be created to keep that message from popping up? Is it possible?
Thanks. B4A is quite AMAZING! Very fast development time to create something! However, reading everything here is a bit like drinking from a fire hose ;^)
I've discovered that if someone repeatedly presses a key quickly (from a "real" keyboard) which generates an event with a sub that the message will pop up. If you put a DoEvents in that sub, then the application exits as many DoEvents happen very quickly and I'm thinking that causes a problem since it exits.
There seems to be a timing issue with regards to how often you send a DoEvents command. And also, how often a keypress activity happens.
Now, why would somebody repeatedly press a key? Good question. They would if they are frustrated waiting for something to happen or a kid playing around with a "kiosk" type of application.
So, I am wondering if a Java library could be created to keep that message from popping up? Is it possible?
Thanks. B4A is quite AMAZING! Very fast development time to create something! However, reading everything here is a bit like drinking from a fire hose ;^)