Pull down menu after Mouse Click

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

Hi !

You can use opengl selection mode to find out what you clicked on, but a drop down menu is a bit messy to do in opengl, I think you would be much better of using the meny support in your OS unless you need to be platform indepedant, in that case you might wanna look at some platform independeant GUI library like Fltk, FOX, Qt and so on, may eveb glut…

Mikael