For Programmers: Free Programming Magazines  


Home > Archive > C# > June 2006 > listview strangeness -- right clicking on the empty half-row at the bottom









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author listview strangeness -- right clicking on the empty half-row at the bottom
daaan23@gmail.com

2006-06-24, 8:15 am

hello!

i am having a strange bug. at the bottom of my listview, there is a
strange half-row. when i right click on it, i disable certain context
menu items because i am storing a global variable for the X,Y
coordinate (this is stored with mousemove event). so, i right click on
the 'half row' and then i do a getitemsat(x,y) and i get null returned
, and there fore all my context items are disabled.

that works fine.

then, i right click again on a different, populated row, and i still
have all my context menu items disabled. in other words it looks like
mousemove isnt being fired between invocations of the context menu. is
there a way around this?

thanks!

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com