PDA

View Full Version : Get the window coordinates when you clic on the OpenGL window



tirengarfio
10-17-2006, 10:01 AM
Hi,

i want to get the window coordinates of an Opengl window when you clic on it with the mouse.

Is that a question about c, c++ or win API programming or it involves Opengl?

Azdo
10-17-2006, 12:26 PM
It is a question about your windowing API, because it'll give you the mouse click event. OpenGL nor C++ provide mechanisms for that.