WaitWindowEvent(TimeOut) with #PB_Event_TimeOut

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Sven
User
User
Posts: 20
Joined: Sat Mar 11, 2006 6:46 pm

WaitWindowEvent(TimeOut) with #PB_Event_TimeOut

Post by Sven »

I would suggest to have a #PB_Event_TimeOut-constant added to the events returned with WaitWindowEvent(TimeOut), so one can ask für this like the other events (now it is just Zero).

Thanks for the TimeOut, good idea.

Sven
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

Good idea, enhances readability. For now you can use 0, as that's what it will be. The EventID would be some other number if it had exited the WaitWindowEvent() command with an actual event.
BERESHEIT
Post Reply