coordiante mapping

how can I map windows coordinates to opengl graphical area coordinates. I am using MFC. I want to get mouse click coordiantes on the graphical area.

Hi !

The faq on this website has everything you need.

Mikael

You have not mentioned the type of coordinate system you have choosen (3d or 2d). If 3d, windows doesn’t support one of your axis.

Originally posted by <Radhika>:
how can I map windows coordinates to opengl graphical area coordinates. I am using MFC. I want to get mouse click coordiantes on the graphical area.

Also refer the sample of MFCOGL in the MSDN library and FAQs in this site. Let me know for further clarifications.

Originally posted by <Radhika>:
how can I map windows coordinates to opengl graphical area coordinates. I am using MFC. I want to get mouse click coordiantes on the graphical area.