algorithmic modeling for Rhino
Hi everyone,
I am currently working on an interactive mousetool, where all I am missing is to be able to register mouse events - CLICKS. Preferably as a boolean.
I have looked into the System.Windows.Forms.MouseButtons thing, which gives you a point of comaprison. And then I have tried to play around with the MouseEventArgs aswell with very little luck. I also found this in the Grasshopper SDK, which seems to have some potential;
public bool MouseDown( MouseEventArgs args, PointF pt )
but I cant seem to get any value from this? I have also tried playing with "events" though with little luck, since I have never used this way of coding before.
Any help is greately appreciated, if not on this, then simply an explanation on the use of events that is easier to understand than the one on MSDN.
Thank you all in advance!
Tags:
Just to clarify - All I want is a boolean if I click a mouse button...
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by