View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rolo[_3_] Rolo[_3_] is offline
external usenet poster
 
Posts: 5
Default Activate / Deactivate mouse move event

Hi everybody. I have a questions that is killing me

1) I have a commandbutton painted with color A.

2) I would like that when I move the mouse over it the button get
painted with color B. (This is easily done with "mousemove").

3)But when I move the mouse outside the button I would like to get it
painted with original color A.

The problem with mousemove is that it triggers an event when I move
over the button but it doesn´t come back to original situation when I
leave movng over the button.

Does this have a solution?

Thank you all