01-11-2013 09:24 AM - edited 01-11-2013 09:25 AM
Hi Mike.
I found your Scroll_Event_V2 and looks great.
It also started to work great, while developping.
However, after buildind the .exe, it does not work: scroll whell events seem to not be received.
I've read here that V2 does nor work under 64bits; how come it works perfectly while developping and only stops in stand alone?
Is there any "work-around on the works"? (I mean, it IS VERY USEFULL, since LV does not have it)
Another thing:
in ME_StopEventEngine.vi, there is a call to Dequeue Element without specifying timeout. While developing, the application terminates correctly. In standalone, it hangs there and never terminates (besides not receiving the events, as I wrote before). Is there a reason for not specifying the timeout?
I tried adding a 100ms timeout to that call and it now terminates correctly.
Any hel would be much appreciated.
Regards.
Gyc
PS - I am using W764bits + LabView 2011SP1 (32 bits).
01-11-2013 11:32 AM
@Gyc wrote:
Hi Mike.
I found your Scroll_Event_V2 and looks great.
It also started to work great, while developping.
However, after buildind the .exe, it does not work:
Is ME_EventEngine.vit already included into the build?
Andrey.
01-11-2013 11:39 AM - edited 01-11-2013 11:40 AM
damm... of course....
Thanks Andrey.
G.
04-23-2014 12:07 PM
Are there any other unfortunate developers around like me that still have to deal with mouse scroll polling instead of the great new LV2013 Mouse Wheel Event?
The application I work on is in LV2012 SP1 and there are several Mouse Wheel Scroll implementations. When accessing a PC by Remote Desktop Connection, the Mouse Scroll is absolute and not incremental, which can have fatal consequences. On the other side, using the safe absolute way for the incremental Mouse Scroll makes it not very responsive there...
Does anyone have a smart and fast logic or hint how to detect whether the Mouse Scroll behaves absolute or incremental? Maybe even a NI employee, as it looks as NI implemented a good way to detect this. I tested the new LV2013 Mouse Wheel Event and it behaves nicely even through Remote Desktop.
Mike, who made the nice examples on this post seems to be not very present any more on LAVA. He presents a way to detect this on his Non-Lexical Vocables homepage, but it doesn't work so fast as it should for me. His second version of Mouse Scroll "Scroll_Event_V2" behaves nicely through through Remote Desktop, but there's the dependency on dll's.
Any better ideas?
david
01-26-2017 08:36 AM - edited 01-26-2017 08:48 AM
@CharlesB64 wrote:
It looks great! Unfortunately it's broken on 64 bit systems. Could you post source code of the DLL, or a 64 bit version?
Thanks a lot
Charles
Attached the modified version V3 (LV2016, based on Mike's V2) which should work on both 32 and 64 bit OS. Source code (a bit modified) of the Windows Message Queue Library is also attached.