How to define "double click" in win32 api?
I know "single click":
WM_LBUTTONDOWN and WM_LBUTTONUP.
Is there any WM_xxx for double click?
And can u give me some sample code?
Thanks.
Printable View
How to define "double click" in win32 api?
I know "single click":
WM_LBUTTONDOWN and WM_LBUTTONUP.
Is there any WM_xxx for double click?
And can u give me some sample code?
Thanks.
WM_LBUTTONDBLCLKQuote:
Originally Posted by jesschen
To recieve this notification your window must have the style known as "CS_DBLCLKS".
You probably mean Class Style (CS_...), not Window Style (WS_...).Quote:
Originally Posted by .pcbrainbuster
I did :) It seems I've gotten to used to tagging styles with windows. By the way OP - You set the style when you're registering the window.