SRL Archive - SRL Suggestions

Mouse: middle button and wheel


Shatterhand

2012-04-09 17:10:42

Any chances of getting middle button and wheel work? Why we dont have these yet?

Abu

2012-04-09 17:13:33

You mean get a function that spins the wheel?

Shatterhand

2012-04-09 17:15:48

From: abu_jwka
You mean get a function that spins the wheel?

Yep. And middle button for rotating camera.

Sin

2012-04-09 17:17:42

SetScreenMouse does that, it's one of the best i've ever used.

Home

2012-04-09 17:18:20

From: hunt3rx3
Yep. And middle button for rotating camera.


SetScreenMouse for rotating Camera via MiddleMouse.

Edit: Ninjaed by Sin :P

~Home

Sin

2012-04-09 17:18:58

Lol home ninja'd you son goml noob!

Shatterhand

2012-04-09 17:20:20

From: Sin
SetScreenMouse does that, it's one of the best i've ever used.

Thanks, this is what I was looking for. :)
And what about using mouse wheel? (reading chat window)

Sin

2012-04-09 17:21:31

Err, I don't think there's one for that O.O
Might be nice looking into though.

Home

2012-04-09 17:47:26

procedure ScrollChat(Lines :Integer; Down :Boolean);
var
SLines :Integer;
begin
If Lines >= 3 then
SLines := Round(Lines / 3) else SLines := Lines;
If Down then SLines := Slines * - 1;
MouseBoxEx(MCX1 + 25, MCY1 + 20, MCX2 - 25, MCY2 - 20, 0, mouse_move);
Scrollmouse(0, 0, SLines);
end;


I quickly ditched that up. Please note that if you give Lines 1 it means that it will scroll one line but the truth is that it will scroll 3 lines.

~Home

Coh3n

2012-04-09 18:05:33

A "ScrollMouseWheel" function is something that would have to be added to Simba.

Home

2012-04-09 18:07:29

From: Coh3n
A "ScrollMouseWheel" function is something that would have to be added to Simba.


There is ScrollMouse inside Simba. Look function above how it can be used.

~Home

Coh3n

2012-04-09 18:12:21

Heh, completely missed that.

Shatterhand

2012-04-10 03:17:04

Thank you guys! Will look into it! :)