Subj : Re: double clicks (mouse) To : borland.public.cpp.borlandcpp From : Jack Sawatzky Date : Wed Dec 15 2004 09:06 am WinMain (... wndclass.style = CS_HREDRAW | CS_VREDRAW | CS_DBLCLKS; ... SetDoubleClickTime(700); WndProc (... case WM_LBUTTONDOWN : MessageBox(hwnd,"Left","Button", MB_OK ); return 0; // This function is called every time, whether I // single click or double click. case WM_LBUTTONDBLCLK : MessageBox(hwnd,"DoubleLeft","Button", MB_OK ); return 0; // This function is never called. .