Bill,
The cursor position you got is in screen coordinates
(top-left cornor of your screen is 0,0, bottom-right
corner is 1024,768). You have to convert it to client
coordinate (top-left corner of the client area of your
front panel is 0,0). And then convert to LabVIEW
coordinate, a vertical shift of the toolbar height.
And then you can use it for position attribute.
If you're using LabVIEW5.1, you can download the
screen to client convert following this link:
http://gtoolbox.yeah.net
George
George Zou