You are not logged in.

1

Thursday, April 2nd 2009, 4:27am

Problem getting mouse coordinates

Hi, i'm trying to make a method to get the coordinates from a canvas with a mouse click. The problem is that my method doesn't wait a event to happen, so i'm always returning trash memory... is there a way, to make the method wait untill the coordinates have changed by the mousePressEvent ?!

2

Thursday, April 2nd 2009, 9:15am

Make your own handler for mousePressEvent?