WM_SETTEXT should return TRUE on success.

diff --git a/controls/combo.c b/controls/combo.c
index 7a78285..52a57f5 100644
--- a/controls/combo.c
+++ b/controls/combo.c
@@ -1887,7 +1887,7 @@
 		    lphc->wState &= ~CBF_NOEDITNOTIFY;
 		    return ret;
 		}
-		else return  CB_ERR;
+		else return CB_ERR;
 	case WM_CUT:
         case WM_PASTE:
 	case WM_COPY:
diff --git a/controls/static.c b/controls/static.c
index 32ec781..f27b30b 100644
--- a/controls/static.c
+++ b/controls/static.c
@@ -242,6 +242,7 @@
 	else
             DEFWND_SetTextA( wndPtr, (LPCSTR)lParam );
         InvalidateRect( hWnd, NULL, FALSE );
+	lResult = 1; /* success. FIXME: check text length */
         break;
 
     case WM_SETFONT:
diff --git a/windows/defwnd.c b/windows/defwnd.c
index cf069a7..3fef1c4 100644
--- a/windows/defwnd.c
+++ b/windows/defwnd.c
@@ -611,6 +611,7 @@
 	DEFWND_SetTextA( wndPtr, (LPCSTR)PTR_SEG_TO_LIN(lParam) );
 	if( (wndPtr->dwStyle & WS_CAPTION) == WS_CAPTION )
 	    NC_HandleNCPaint( hwnd , (HRGN)1 );
+	result = 1; /* success. FIXME: check text length */
         break;
 
     default:
@@ -677,6 +678,7 @@
 	DEFWND_SetTextA( wndPtr, (LPCSTR)lParam );
 	if( (wndPtr->dwStyle & WS_CAPTION) == WS_CAPTION )
 	    NC_HandleNCPaint( hwnd , (HRGN)1 );  /* Repaint caption */
+	result = 1; /* success. FIXME: check text length */
         break;
 
     default:
@@ -733,6 +735,7 @@
 	DEFWND_SetTextW( wndPtr, (LPCWSTR)lParam );
 	if( (wndPtr->dwStyle & WS_CAPTION) == WS_CAPTION )
 	    NC_HandleNCPaint( hwnd , (HRGN)1 );  /* Repaint caption */
+	result = 1; /* success. FIXME: check text length */
         break;
 
     default:
diff --git a/windows/mdi.c b/windows/mdi.c
index d3102af..8211efc 100644
--- a/windows/mdi.c
+++ b/windows/mdi.c
@@ -1505,7 +1505,7 @@
                 WIN_ReleaseWndPtr(wndPtr);
                 HeapFree( GetProcessHeap(), 0, text );
             }
-	    return 0;
+	    return 1; /* success. FIXME: check text length */
 	
 	  case WM_SETFOCUS:
 	    SetFocus(hwndMDIClient);
@@ -1662,7 +1662,7 @@
 	if( ci->hwndChildMaximized == hwnd )
 	    MDI_UpdateFrameText( clientWnd->parent, ci->self,
 				 MDI_REPAINTFRAME, NULL );
-        retvalue = 0;
+        retvalue = 1; /* success. FIXME: check text length */
         goto END;
 
       case WM_CLOSE:
@@ -1862,7 +1862,7 @@
 	if( ci->hwndChildMaximized == hwnd )
 	    MDI_UpdateFrameText( clientWnd->parent, ci->self,
 				 MDI_REPAINTFRAME, NULL );
-        retvalue = 0;
+        retvalue = 1; /* success. FIXME: check text length */
         goto END;
 
       case WM_GETMINMAXINFO:
@@ -1940,7 +1940,7 @@
 	if( ci->hwndChildMaximized == hwnd )
 	    MDI_UpdateFrameText( clientWnd->parent, ci->self,
 				 MDI_REPAINTFRAME, NULL );
-        retvalue = 0;
+        retvalue = 1; /* success. FIXME: check text length */
         goto END;
 
       case WM_GETMINMAXINFO: