context menu appearing far from mouse

Christ Kennedy 41 Reputation points
2022-01-28T12:42:13.127+00:00

I've got a ContextMenu on an object that inherits a PictureBox. When the user rightclicks on this object the ContextMenu appears several hundred pixels away from the mouse. Is there a way to position it closer because that isn't happening automatically as it should.

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,909 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.