Hi everybody:

I have a MDI application which has MDI forms containing every form a
list view that shows files and folders like Windows Explorer.

I have my own implementation of the context menu, so, I
programatically show it when the mouseUp event is raised over the list
view and the mouse button is the right button (quite obvious).

My problem occurs when I show the context menu, and after I maximize
the MDI form double-clicking the caption bar: My context menu is shown
again because the mouse up of the list view is raised!!!!

I searched in this group and I did not found similar problems and I
have no idea to solve this problem because the MouseEventArgs object
that my OnMouseUp() method receives is valid.

Any help will be very useful. Thanks in advance


Ernesto