Madza91 Posted September 3, 2008 Share Posted September 3, 2008 Hello everybody, i just wandering is it possible to detect when scrolling up/down with my mouse (Middle mouse button) ? [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :) Link to comment Share on other sites More sharing options...
Polyphem Posted September 3, 2008 Share Posted September 3, 2008 Maybe this? #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 Sleep ( 250 ) If _IsPressed("04", $dll) Then MsgBox(0,"_IsPressed", "Middle mouse button Pressed") ExitLoop EndIf WEnd DllClose($dll) This post will be edited again by Polyphem: Tomorrow, 11:55 AM Link to comment Share on other sites More sharing options...
Madza91 Posted September 3, 2008 Author Share Posted September 3, 2008 Not to detect when is pressed, then when is scrolled up or down... [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :) Link to comment Share on other sites More sharing options...
Polyphem Posted September 3, 2008 Share Posted September 3, 2008 _WinAPI_Mouse_Event() This post will be edited again by Polyphem: Tomorrow, 11:55 AM Link to comment Share on other sites More sharing options...
Madza91 Posted September 3, 2008 Author Share Posted September 3, 2008 (edited) How to use this command? I looking in help and do not have example script... Edited September 3, 2008 by n3nE [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :) Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted September 3, 2008 Share Posted September 3, 2008 Hello everybody, i just wandering is it possible to detect when scrolling up/down with my mouse (Middle mouse button) ?Hi! See THIS post by GaryFrost, it shows how to catch all different mouse events .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Madza91 Posted September 3, 2008 Author Share Posted September 3, 2008 Thank you! [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now