Jump to content

Bind Mousewheel to do stuff


 Share

Recommended Posts

_Ispressed only checks when it is clicked, I want to check if it is rolled. How do I do this?

Edit : GuiRegisterMsg() used, how to capture an event?

Edited by eynstyne
F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]
Link to comment
Share on other sites

_Ispressed only checks when it is clicked, I want to check if it is rolled. How do I do this?

Edit : GuiRegisterMsg() used, how to capture an event?

Have a look Here


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

Problem solved. I posted too quick once again.

Guiregistermsg($WM_MOUSEWHEEL,"MouseHasbeenmoved") ; Defined in a constant udf

Func Mousehasbeenmoved($Hwndgui,$msg,$wparam,$lparam)

if $wparam = 0xFF880000 then
msgbox(0,"","MouseUp")
else
msgbox(0,"","MouseDown")
endif
return

endfunc
F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...