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

10-17-2006, 10:01 AM

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?

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.