Menu in Opengl !!

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 much

This was off-topic four days ago, and it’s still off-topic now.

– Tom