Home All Groups Group Topic Archive Search About

MouseUp event fires randomly on Listview

Author
22 Mar 2006 10:10 AM
Vijaya P Krishna
Hi,

I found that the MouseUp event on the Listview is getting fired random
number of times. We are using .NET 1.0 and VB.NET. The intention of the code
was to show a links for a column values and open the links on user clicking
them.

Please see the code in attached file. Please try clicking on the link,
hovering/dragging the mouse over the listview, pressing mouse down on one
column/row and releasign the same on another column/row...

Can someone please look into the code and let me know if something is wrong.

Thanks,
Vijay

[attached file: Form1.vb]

Author
22 Mar 2006 5:24 PM
Rocky
I don't understand what the problem is. I get only one MouseUp event. You
might just think your getting multiple events because you're adding 3
messages in your RichTextBox. You're adding one message for the MouseDown
event and two messages for the MouseUp event.

Am I missing something?

Show quoteHide quote
"Vijaya P Krishna" <pvijk***@hotmail.com> wrote in message
news:%23GC6YjZTGHA.1576@tk2msftngp13.phx.gbl...
> Hi,
>
> I found that the MouseUp event on the Listview is getting fired random
> number of times. We are using .NET 1.0 and VB.NET. The intention of the
> code was to show a links for a column values and open the links on user
> clicking them.
>
> Please see the code in attached file. Please try clicking on the link,
> hovering/dragging the mouse over the listview, pressing mouse down on one
> column/row and releasign the same on another column/row...
>
> Can someone please look into the code and let me know if something is
> wrong.
>
> Thanks,
> Vijay
>
>
Author
23 Mar 2006 5:27 AM
Vijaya P Krishna
No.. no.. I practically experienced the problem. The series of the 3
messages appear more than once for a single click of mouse.
It does not happen on all machines.. We found the problem with atleast 3
machines here.. The problem does not seem to be related to user profiles,
but with machines.

Thanks,
Vijay



Show quoteHide quote
"Rocky" <nopl***@nowhere.com> wrote in message
news:eCqhAWdTGHA.4792@TK2MSFTNGP14.phx.gbl...
>I don't understand what the problem is. I get only one MouseUp event. You
>might just think your getting multiple events because you're adding 3
>messages in your RichTextBox. You're adding one message for the MouseDown
>event and two messages for the MouseUp event.
>
> Am I missing something?
>
> "Vijaya P Krishna" <pvijk***@hotmail.com> wrote in message
> news:%23GC6YjZTGHA.1576@tk2msftngp13.phx.gbl...
>> Hi,
>>
>> I found that the MouseUp event on the Listview is getting fired random
>> number of times. We are using .NET 1.0 and VB.NET. The intention of the
>> code was to show a links for a column values and open the links on user
>> clicking them.
>>
>> Please see the code in attached file. Please try clicking on the link,
>> hovering/dragging the mouse over the listview, pressing mouse down on one
>> column/row and releasign the same on another column/row...
>>
>> Can someone please look into the code and let me know if something is
>> wrong.
>>
>> Thanks,
>> Vijay
>>
>>
>
>