Background: I am using an `event hook` to capture all o/s input from the user. I am calling `Driver.Poll()` which polls for events and calls the event hook if one happens. My single event hook function basically checks for several interesting events using a Select-Case statement, and then does something appropriate depending on the event. Presumably I don't really need to return the event from the hook because I only have one hook (Mark said in another thread that you only need return the event object if you have multiple hooks), but I do default to returning it if it's not one that I make any use of.
Question: If, since the last Poll(), the user has triggered three operating system events, and then I do Driver.Poll() once, will my event hook function be called three times, or do I need to call Driver.Poll() three times to get all three events?
I can't seem to even figure out how to make a test program to see how this works - I could only get one event to seem to show per Poll, and other events seemed to be getting ignored completely?
Question: If, since the last Poll(), the user has triggered three operating system events, and then I do Driver.Poll() once, will my event hook function be called three times, or do I need to call Driver.Poll() three times to get all three events?
I can't seem to even figure out how to make a test program to see how this works - I could only get one event to seem to show per Poll, and other events seemed to be getting ignored completely?