How to implement Drop Down Menu

Hi…

I have created a cuboid with texture.Now i want that after clicking on this cuboid I should get 2 more cuboids like the one drawn before.(IN A VERTICAL or HORIZONTAL Drop Down Fashion).

I want to know how to implement it with a mouse click on the first parent cuboid…

Is it possible using OpenGL or I need to use some other API’s compatible with openGL.

Thanks in advance.
Queries