1. Win32lib again, onMouse over a list-control ?

Is there a way to simulate this with win32lib ? :

constant List1=create( List, ...

procedure onMouseList1(integer event, integer x, integer y, integer shift )
  if event=LeftDoubleClick then
    ...
  elsif event=RightUp then
    ...
  end if
end procedure
onMouse[List1] = routine_id("onMouseList1")

because the onMouse[] event don't seem to work with a list-control.

Gwen

new topic     » topic index » view message » categorize

2. Re: Win32lib again, onMouse over a list-control ?

Hi Gwen,

>
>Is there a way to simulate this with win32lib ? :
>
>because the onMouse[] event don't seem to work with a list-control.

The current library only supports Right Button Down events for lists. As a
quick fix, you can change the line in the library that looks like ...

classAttr[List]=0

   to ....

classAttr[List]=w32Clickable

I haven't followed all the implications of this fix yet, but it seems to
work okay.

-----
cheers,
Derek Parnell

new topic     » goto parent     » topic index » view message » categorize

3. Re: Win32lib again, onMouse over a list-control ?

Hi Derek !

It seems to work very well, thank you again smile

Gwen

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu