views:

139

answers:

0

hi

i'm using a transparent control class from here: http://christian-helle.blogspot.com/2008/01/transparent-controls-in-netcf.html to make a list on the screen. the text color is blue. then I have a context menu that shows up when user clicks on an item in the list an the clicked text color turns into white.

the problem is, when user clicks near the context menu, the context menu disappears, but the text remains white. I debugged, to search which click event will fire on this near-clicking. neither the form's click event, neither the other item's click event.

how can I make that the items turn back into blue if user clicks near the context menu?