Menus with Opengl ! Important ! ;(

Hello Everybody !
Im programing a menu for a modelling software.
The menu has 4 squares in every border of the window. And every menu has several buttons ( small squares ). If you click the button , the button is gone . But now i want to move the menu like the toolbar in windows. when the mouse is near the border, the menu has to appear …but i dont know how i can program these.
Someone know or have idea ???
thank you very mach

You see? This is what you get for contracting out highly skilled work to developing countries. I told them, but would they believe me?