OnMouseMove not firing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EddieT
    New Member
    • Nov 2009
    • 13

    OnMouseMove not firing

    Hi,

    I am planning to override the mouse movement to discrete steps so that i can get a coarser movement of the mouse for easier click of objects.

    However, I am not getting any trigger in the OnMouseMove event. Anybody know why? My mouse is moving on a Form with a Picturebox on it.

    Code:
    protected override void OnMouseMove(MouseEventArgs e)
            {
    base.OnMouseMove(e);
            }
    ET
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    If you are overriding the form's event, then you won't see it when its on the picture.
    How come you didn't just attach an event handler instead of overriding?

    Comment

    Working...