I am using PureBasic to create a windows interface on a Blitz3D window.
I use my own WaitEvent() routine, which cycles through and calls a PureBasic WaitEvent() command each loop. I have a special spin gadget that can be edited by typing the text, or pressing the buttons. My problem is that PureBasic does not update the gadget without a WaitWindowEvent() command. I cannot use WaitWindowEvent() because other events that only my routine detects will be stalled.
How can I force PureBasic to update the spingadget so that I can get a "typing text" event (#257) or a gadget event when the spingadget buttons are pressed?
I've used Delay() in the past as well, but I've wondered what would be the most efficient delay value. Have used Delay(10) and seems to be fine, but I'm curious of any comments on this.