Ruby - Mouse Cursor 'Hold' function

For general discussion related FlowStone
Post Reply
User avatar
tiffy
Posts: 400
Joined: Wed May 08, 2013 12:14 pm

Ruby - Mouse Cursor 'Hold' function

Post by tiffy »

I don't find any instruction in Ruby (searched the internet & DSP User Manual) to 'Hold' the Mouse Cursor in position whilst dragging the mouse. It is strange because the instructions to 'Hide' or 'Show' the mouse cursor is available, but not any 'Hold' function? Or did I overlook something? The 'Hold' function is such a breeze and a must have.
TheOm
Posts: 103
Joined: Tue Jan 28, 2014 7:35 pm
Location: Germany

Re: Ruby - Mouse Cursor 'Hold' function

Post by TheOm »

AFAIK it's not "built in" in FS-Ruby but you can do it via the Win32API:
Attachments
mouse reset.fsm
(636 Bytes) Downloaded 907 times
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Ruby - Mouse Cursor 'Hold' function

Post by tulamide »

TheOm wrote:AFAIK it's not "built in" in FS-Ruby but you can do it via the Win32API:

A nice little helper file! Thanks for sharing. I needed the prim to hold the mouse position, now I can go all Ruby. (I should think of the Windows API more often, but I'm so lazy when it comes to preparing the calls :lol: )
"There lies the dog buried" (German saying translated literally)
User avatar
tiffy
Posts: 400
Joined: Wed May 08, 2013 12:14 pm

Re: Ruby - Mouse Cursor 'Hold' function

Post by tiffy »

@TheOhm...thanks for this help with the Mouse "hold" function using the Win32API.
Post Reply