http://www.vb-helper.com/HowTo/hidemnu2.zip
Purpose
Display a menu when the mouse is near the top of the form.
Method
Hide or display the menu in the Form's MouseMove event handler.
This program does not worry about hiding the menu if the user moves the
mouse off the top of the form. You could use a Timer to check for that.
Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. In particular, it does no error
handling. You can use the example in any form, but please mention
www.vb-helper.com.