On Tuesday 30 August 2005 22:31, Sergey Plis wrote:
> Thank you! But, unfortunately, it is not enough :):)
>
> Look at my example and see that Y value now is relative to the main
> window not to the glcanvas I click in, as expected. :)))

No, that's supposed to be like this. You have two points in the dopress 
routine: One that's just passed around (here: the starting point), and 
one that's the current mouse position.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/

Attachment: pgpUqhwPsi6GP.pgp
Description: PGP signature

Reply via email to