|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Trouble with mouse location on pictures
I'm trying to use the mouse to draw rectangles on a Picture indicator.
However, the mouse coordinates are not corresponding consistently to the Rectangle coordinates, and I can't seem to make sense of it. Here's a video demonstrating the problem. http://screencast.com/t/Yzg1YTViYWUt While you can't see whether I'm clicking or not, every short diagonal movement is a click-and-drag action. (In one of them, I believe the rectangle it made was actually outside the picture). Is there anything wrong with my code? (Note: I am using the Picture control, not at IMAQ image. This code is not intended to run on the cRIO, and probably won't be usable within the FRC Framework) |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Possible confusion between competition location and shipping location | rl1806 | General Forum | 2 | 07-02-2009 00:27 |
| Trouble with Autonomous | popnbrown | Programming | 15 | 27-02-2007 20:48 |
| Optical Mouse / Ball Mouse | Clark Gilbert | Chit-Chat | 26 | 22-07-2004 13:17 |
| Trouble with pwm outputs | misterikkit | Programming | 16 | 17-01-2004 10:56 |