sendEvent (SWT.DragDetect);
postEvent (SWT.DragDetect);
LRESULT WM_LBUTTONDOWN (int wParam, int lParam) {	/*	* Feature in Windows.  When the user clicks on the group	* box label, the group box takes focus.  This is unwanted.	* The fix is to avoid calling the group box window proc.	*/	/*	* Bug in Windows.  For some reason, if we allow the group	* box to take focus, it will draw on top of pull down combo	* box children.  The fix is to avoid calling the window proc	* to disallow the receiver from getting focus.	*/	sendMouseEvent (SWT.MouseDown, 1, OS.WM_LBUTTONDOWN, wParam, lParam);	if (OS.GetCapture () != handle) OS.SetCapture (handle);	if (hooks (SWT.DragDetect)) {		POINT pt = new POINT ();		pt.x = (short) (lParam & 0xFFFF);		pt.y = (short) (lParam >> 16);		if (!OS.IsWinCE) {			/*			* The DragDetect function captures the mouse and tracks its movement until the user releases			* the left button, presses the ESC key, or moves the mouse outside the drag rectangle around 			* the specified point.   If the user moves the mouse outside of the drag rectangle, DragDetect			* returns true.			*/			if (OS.DragDetect (handle, pt)) {				sendEvent (SWT.DragDetect);				// widget could be disposed at this point			} else {				/*				* The Mouse up event and the ESC key event have been consumed by DragDetect so 				* detect the cases and send the events.				*/				if (OS.GetKeyState (OS.VK_ESCAPE) >=  0) {					sendMouseEvent (SWT.MouseUp, 1, OS.WM_LBUTTONUP, wParam, lParam);					// widget could be disposed at this point				}			}		}	}	return LRESULT.ZERO;}