comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Cursor-position/mouse-pointer offset problem on IDL+Windows7
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Cursor-position/mouse-pointer offset problem on IDL+Windows7 [message #87105] Tue, 07 January 2014 11:51 Go to previous message
kagoldberg is currently offline  kagoldberg
Messages: 26
Registered: November 2012
Junior Member
I'm wondering if anyone has seen/solved this issue with Windows7.

With a widget_draw, object-graphics window on a Windows7 machine, the position of the system's mouse pointer is offset significantly (over 100 pixels) from the position that IDL thinks the cursor is at, based on event.x and event.y? This is with 1:1 scaling, in the model. The problem only comes up on one of my Windows7 installs, running IDL as a virtual machine. It has not been seen on Mac OS X or other Windows7 installs.

To diagnose the problem, I read the cursor XY position and place a small star symbol position reported in (event.x, event.y). According to my colleague using the VM, it was working fine before the holiday break, and now (with no changes to my IDL code) they are seeing this offset. The offset persists after a machine reboot.

I'm wondering if it could be related to their small screen size. My widget is slightly larger horizontally than the pixel width of their monitor, so they shift the IDL window back and forth, left to right.

For what it's worth, on the troubled system, when they interact with other widget objects, like buttons and lists, the system cursor accurately corresponds to the correct position. The problem is only within a WIDGET_DRAW graphic.

Any help is appreciated.
[Message index]
 
Read Message
Read Message
Previous Topic: Overplot extends beyond xrange
Next Topic: Missing value and Image size in Image, Function Graphic

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:33:22 PDT 2025

Total time taken to generate the page: 0.00381 seconds