Re: win32lib event handling question
- Posted by "Juergen Luethje" <j.lue at gmx.de> Jul 22, 2005
- 511 views
Pete Lomax wrote: <snip> > A suggestion springs to mind: > > global type rtnid(object r) > return not equal(r,-1) > end type > > Use that type instead of integer for any local routine_id variable > definitions, and also in win32lib etc: > > global procedure setHandler(integer id, integer flag, rtnid rid) > ... > and either force use of removeHandler, or force {-1} rather than -1 > for the delete feature of setHandler. > > Regards, > Pete > PS the type above should be part of the new standard library. I did include this sugestion in http://home.arcor.de/luethje/esl/type.htm Thanks, Juergen