Button Control, MouseLeave Event

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • A. Reza Bemanian

    #1

    Button Control, MouseLeave Event

    Using both MouseHover and MouseLeave events for a group of buttons within a
    CLI WinForm application, the MouseLeave event misfires although the mouse
    cursor has not moved on the screen, and is set right at the center of a
    particular button. Have tried to read the cursor position to verify it is
    bounded within the button proximity, the point coordinates indicating the
    cursor position varies erroneously when the event is generated (despite the
    cursor not being moved), and consequently the mouseleave event gets
    triggered.

    The development platform is Visual Studio 2005 beta 2, used for a multi
    threaded application. Any comments or previous experience in this regard is
    greatly apprecited. By the way I am not sure if the thread switching could
    attribute to this.

    Best Regards,
    Reza Bemanian
Working...