Jump to content
  • Advertisement
Sign in to follow this  
BlackRyder

problems with DOUBLE CLICK in Windows API

This topic is 4827 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i have tried to listen to the event WM_LBUTTONDBCLK and it is not working.... does anybody here knows why? i tried with appz that dont use openGL and they work just fine.. i know that this probebly question in microsoft forum but maybe someone here knows the answer

Share this post


Link to post
Share on other sites
Advertisement
yea as Matrix said, it's probobly got intercepted before it could count as a doubleclick.
Basicly what i think is happening is that if you click once it will post a click message in the message que.
When the next click comes it checks if there has been a recent click in the message que, if so then change that into a doubleclick.
However most gl apps emty that que 60-100(or more) times a second, leaving little chance of actuarly regestering a doubleclick.

but this is just speculation.
So if you realy need the double click thingey and WM_LBUTTONDBCLK doesn't work, then you have to do it yourself, it shouldn'r be that hard to do.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!