10-29-2009 10:05 AM
Hello,
i need a function to get the position in a picture when i push the mouse button. It will be a kind of touch screen.
Best regards
wolf4124 |
10-29-2009 11:07 AM
Will GetRelativeMouseState() do what you want? Maybe in a callback of the picture/canvas control.
JR
11-02-2009 03:33 AM
Hello wolf4124,
Regardless which platform you are using, it should be easy to get that position normally being delivered
by several mouse-events, the OS provides. In LabVIEW, i.e., you would use a event-structure configured
to mouse-down, and the lefthand-box would provide the XY-Data. Hope that helps.
Marco Brauner NIG
11-02-2009 03:41 AM
Sorry, I´ve overseen being in the CVI-Forum 😉
Well, GetRelativeMouseState()should work.
Marco