1. DoubleClick with win32lib

Hello to all,

OK.  Long story made short, I'm using win32Lib 0.44e and/or 0.45b and
I'm emulating a ListView object by creating a Pixmap which then gets
drawn on the main window using copyBlt().  To process mouse events for
it, I have an event handler for onMouse[MainWindow], and if the co-
ordinates fall within the area I've specified as my "ListView", then I
pass all the parameters into a routine called onMouseMainWininListView(),
which handles the emulation for listview mouse events.  This works
beautifully until I try to trap LEFT_DOUBLECLICK events.  My first thought
was that it was being lost between my onMouseMainWindow and
onMouseMainWindowListView routines, but I've trapped for LEFT_DOUBLECLICK
in the onMouseMainWindow() routine using trace(1), and it never fires.
Win32Lib seems oblivious to the fact that a LEFT_DOUBLECLICK event has
occurred.

OK - I guess that was long story made long(er).  Anyhow, does anyone know if
this is a bug/feature of win32Lib, a grevious error by this programmer,
or none-of-the-above?  Also, if anyone has a work-around, I'd love to
hear it.

Thanks to all,

Brian

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu