L
lukasz
I call contextMenu.Show() in OnMouseDown handler the menu shows and then I
press mouse button in other area to hide the menu (without selecting an
option). Then I receive first OnMouseUp event, next OnMouseMove, which is
very unwanted behavior in my case -- I would prefer to first know that the
cursor has moved (and it has moved), only then the fact that a mouse button
was pressed. Is there a solution for this? Note: I have not added the
ContextMenu to a container or whatever.
press mouse button in other area to hide the menu (without selecting an
option). Then I receive first OnMouseUp event, next OnMouseMove, which is
very unwanted behavior in my case -- I would prefer to first know that the
cursor has moved (and it has moved), only then the fact that a mouse button
was pressed. Is there a solution for this? Note: I have not added the
ContextMenu to a container or whatever.