The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Mouse events on OriginC

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
kid Posted - 06/19/2002 : 6:00:56 PM
I’m 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 don’t 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.

Alex
1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 06/19/2002 : 11:27:44 PM
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.

CP



The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000