Sign in to follow this  
Followers 0
marfdaman

WM_LBUTTONDBLCLK problem

5 posts in this topic

Hello, I would like some help using guiregistermsg in combination with WM_LBUTTONDBLCLK, as it won't register it for me. As for the script, it's the one from my mediaplayer which is kinda long, so if someone could just show me a gui with a working WM_LBUTTONDBLCLK event that would help me greatly.

And another question while I'm at it: why when you click in a list area will it also not detect it? Outside the list everything works fine, just not when i click an item in the list (not listview).

Regards


Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Share this post


Link to post
Share on other sites



first off you'll probably have to use wm_command

and the notification would be on LBN_DBLCLK for listbox


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Well I still don't get it (not even with some help from the helpfile :) )

So i register WM_COMMAND with my function and then what should I do?

Please help

Edited by marfdaman

Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Share this post


Link to post
Share on other sites

Only windows that have the CS_DBLCLKS style can receive WM_LBUTTONDBLCLK messages, which the system generates whenever the user presses, releases, and again presses the left mouse button within the system's double-click time limit. Double-clicking the left mouse button actually generates a sequence of four messages: WM_LBUTTONDOWN, WM_LBUTTONUP, WM_LBUTTONDBLCLK, and WM_LBUTTONUP.

Autoit do not register the window class with this CS_DBLCLKS style, too bad...this could help us a lot.

Share this post


Link to post
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
Sign in to follow this  
Followers 0