Most likely the event is called too many times hence the flicker. Mouse_move
is called everytime you move the mouse. So the event is activated several
times for a form or a button even when you never leave the button or the
So you need to track where the last mouse move event occured. And if is
different, take action, otherwise skip.
MEA Developer Support Center
ITWorx on behalf Microsoft EMEA GTSC