Re: Win32Lib: Disable Focusability

new topic     » goto parent     » topic index » view thread      » older message » newer message

> 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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu