Page 1 of 1
5.10b1 - a question about the new PostEvent() command
Posted: Mon Dec 24, 2012 12:16 am
by BorisTheOld
Is there a range of numbers that can safely be used for user-defined Event Types? Up to 1000 numbers should be sufficient.
We want to be sure that our own event types don't conflict with the built-in PB event types.
Thanks
Re: 5.10b1 - a question about the new PostEvent() command
Posted: Mon Dec 24, 2012 12:19 am
by Fred
You should use an event number higher than 65536 to be on the safe side. We will provide a #PB_Event_FirstUserEvent constant for that, so you can use it as an enumeration start.
Re: 5.10b1 - a question about the new PostEvent() command
Posted: Mon Dec 24, 2012 12:59 am
by BorisTheOld
Thanks Fred, that would be perfect. In our testing we've been using a base of $FFFFF.
Keep up the good work, but remember, you don't have to work on Xmas day.
