If you just want do draw a selection box, this should not be a problem. Just map your mouse coordinates to scene coordinates and draw a rectangle using these. Look into gluProject, gluUnproject (are this correct names?).
If you are writing photoediting software, I guess you use ortogonal projections. In this case you can just map the coordinates manually (it is flat anyway and the coorinate system is known too). If you have only one image, just draw it as a texture on a full-screen rect - this way you will get the texture coordinates of the image.
Hovewer, this is all pretty basic. Maybe I missunderstood your question…
Originally posted by Zengar: Hovewer, this is all pretty basic. Maybe I missunderstood your question…
maybe that’s why he posted in the beginners’ forum
anyway, Zengar is right, gluProject is what you need. just note that in OGL (0,0) in window coordinates is the bottom left window corner, but in windows (0,0) is the top left corner.