I'm writing a tutorial for my application but Im having a problem when I simulate the mouse envents (with Mouse_Event and SetCursorPos). I'm doing the clicks ok but when I click over a Action Menu Bar the mouse continue moving but the menu is just expanded after the movement. I tried to use Application.ProcessMessages method after the fake click but it stops the mouse movement as waiting some answer and just continue the movement if I press ESC until the menu is completely collapsed. I tried to use the Refresh, Repaint, Invalidate Action Menu Bar methods but it doen't work! I don't know what to do.