Im building a zoom tool, for one dialog that previews a graph. I want to be able to zoom only on the x axis. For this I need to read the mouse position when the user clicks and when he lets go. I dont think OriginC can do event detection, but in OriginPro, when you use the Screen Reader tool, there is a window that tells you the X and Y position of the mouse and it even fallows when you click and drag. How can I use this feature in OriginC or LabTalk.
You are correct that the current implementation of OriginC does not support mouse event, but this can be easily done in LabTalk and you can call your Origin C function when you get these coordinates from LabTalk and pass them into your Origin C functions.
Search for PointProc on this Forum and in the Originlab website for many discussions on using the ScreenReader tool.