return LRESULT.ONE;
LRESULT WM_SETCURSOR (int wParam, int lParam) {	/*	* Feature in Windows.  When the shell is disabled	* by a Windows standard dialog (like a MessageBox	* or FileDialog), clicking in the shell does not	* bring the shell or the dialog to the front. The	* fix is to detect this case and bring the shell	* forward.	*/	int msg = (short) (lParam >> 16);	if (msg == OS.WM_LBUTTONDOWN) {		if (!Display.TrimEnabled) {			Shell modalShell = display.getModalShell ();			if (modalShell != null && !isActive ()) {				int hwndModal = modalShell.handle;				if (OS.IsWindowEnabled (hwndModal)) {					OS.SetActiveWindow (hwndModal);				}			}		}		if (!OS.IsWindowEnabled (handle)) {			if (!OS.IsWinCE) {				int hwndPopup = OS.GetLastActivePopup (handle);				if (hwndPopup != 0 && hwndPopup != handle) {					if (display.getControl (hwndPopup) == null) {						if (OS.IsWindowEnabled (hwndPopup)) {							OS.SetActiveWindow (hwndPopup);						}					}				}			}		}	}	/*	* When the shell that contains a cursor is disabled,	* WM_SETCURSOR is called with HTERROR.  Normally,	* when a control is disabled, the parent will get	* mouse and cursor events.  In the case of a disabled	* shell, there is no enabled parent.  In order to	* show the cursor when a shell is disabled, it is	* necessary to override WM_SETCURSOR when called	* with HTERROR to set the cursor but only when the	* mouse is in the client area of the shell.	*/	int hitTest = (short) (lParam & 0xFFFF);	if (hitTest == OS.HTERROR) {		if (!getEnabled ()) {			Control control = display.getControl (wParam);			if (control == this && cursor != null) {				POINT pt = new POINT ();				if (OS.GetCursorPos (pt)) {					OS.ScreenToClient (handle, pt);					RECT rect = new RECT ();					OS.GetClientRect (handle, rect);					if (OS.PtInRect (rect, pt)) {						OS.SetCursor (cursor.handle);						switch (msg) {							case OS.WM_LBUTTONDOWN:							case OS.WM_RBUTTONDOWN:							case OS.WM_MBUTTONDOWN:							case OS.WM_XBUTTONDOWN:								OS.MessageBeep (OS.MB_OK);						}						return LRESULT.ONE;					}				}			}		}	}	return super.WM_SETCURSOR (wParam, lParam);}