Re: Win32Lib: Disable Focusability
- Posted by Don <eunexus at yahoo.com> Aug 05, 2004
- 493 views
> D'oh!! I forgot about the 'subclassing' trick. > > In Win32lib, all you need to do to avoid selecting items in a listview > is this ... > > procedure Event_lv(integer self, integer event, sequence parms) > if find(parms[1],{WM_LBUTTONDOWN, WM_RBUTTONDOWN}) then > returnValue(-1) > end if > end procedure > setHandler(lv, w32HEvent, routine_id("Event_lv")) Cool =) thanks Derek... Saves me the trouble of firing up the old text editor hehe Don Phillips - aka Graebel National Instruments mailto: eunexus @ yahoo.com