Re: Win32LIB V0.57.4 LV onClick
- Posted by Derek Parnell <ddparnell at bigpond.com> May 10, 2002
- 478 views
----- Original Message ----- From: "Tony Steward" <tony at locksdownunder.com> To: "EUforum" <EUforum at topica.com> Subject: Win32LIB V0.57.4 LV onClick > > Hi all, > Found my bug in listviews using old winlib and am now looking at new > winlib and found that not many changes were needed at all but for > somereason my program does not seem to respond/trigger the onClick > routine with the new version. > > Any ideas why this might be? The changes that I found i had to make were > not in this routine and would not be the cause. I've done some checking with earlier versions of win32lib and none have ever supported an onClick event for ListViews. There is an onChange event, but never has been an onClick event. Am I understanding your problem correctly? I've coded a trap for the LVM_ITEMACTIVATE message but that only seems to fire for a double-click. The Click is usually detected by the library when a LeftDown and a LeftUp event occur in roughly the same screen location at roughly the same time. However, for ListViews, the LeftDown is detected but there is no matching LeftUp. I suspect that the ListView control traps it. If you really need one, I'll try to work out how to do it. > BTW I wish the docs for the LV procedures/functions in the new winlib > were a little more detailed. Sorry for nit picking its a great > programing tool and without it I probably wouldn't bother. Me too. I'm doing a little bit at a time. Please be patient with me. ----------- Derek.