PDA

Click to See Complete Forum and Search --> : Detect double click


rsmall
Jun 12th, 2001, 08:39 AM
Is there any way using GetAsyncKeyState to detect a double click of the mouse. I know that the constant vbLeftButton and vbRightButton exist for single clicks but is there anything for a double click?



Ryan

Vlatko
Jun 12th, 2001, 08:47 AM
There are WM_LBUTTONDBLCLK & WM_RBUTTONDBLCLK

Vlatko
Jun 12th, 2001, 08:49 AM
I forgot to give you the values

Public Const WM_RBUTTONDBLCLK = &H206
Public Const WM_LBUTTONDBLCLK = &H203