fixme:richedit:RICHED32_WindowProc Unknown message 129

Daniel Walker diwalker at earthlink.net
Tue Jan 15 09:50:01 CST 2002


lawson_whitney at juno.com wrote:
> 
> Good day!
> 
> Thanks, Daniel Walker, for your work on riched32.

	Your welcome ..

> I don't know what or why is richedit and I'm kind of GUI-challenged, or
> I'd have a go at implementing these myself, but I have an app that uses
> it, so if traces would help, just say which traces and if you want them
> for builtin or native riched32.  The app fails with a bogus message box:
> "Insufficient memory or disk space" after these three fixme's with the
> builtin, so those traces should be pretty short, but maybe it would also
> be useful to try to use spy on the native riched32.  If spying on
> msvcrt, mfc42, and/or the app's own dll's is likely to make noise, I can
> filter it out, but at this point I don't know.
> 
> fixme:richedit:RICHED32_WindowProc Unknown message 129
> fixme:richedit:RICHED32_WindowProc Unknown message 528
> fixme:richedit:RICHED32_WindowProc Unknown message 130

	This patch will take out the fixme msgs , but I don't think it will fix
anything.. You will have to run your application with "--debugmsg
+edit,+richedit" to should show you any errors/msgs from the controls.
Let me know what happens ..

							Daniel Walker
-------------- next part --------------
Index: richedit.c
===================================================================
RCS file: /home/wine/wine/dlls/richedit/richedit.c,v
retrieving revision 1.15
diff -u -r1.15 richedit.c
--- richedit.c	2002/01/14 19:44:07	1.15
+++ richedit.c	2002/01/15 13:56:49
@@ -98,6 +98,14 @@
     switch (uMsg)
     {
  
+    case WM_NCCREATE :           
+	    DPRINTF_EDIT_MSG32("WM_NCCREATE");
+	    return 1; /* Return TRUE to continue creation. */
+
+    case WM_NCDESTROY:
+            DPRINTF_EDIT_MSG32("WM_NCDESTROY");
+            return 0;
+
     case WM_CREATE :           
 	    DPRINTF_EDIT_MSG32("WM_CREATE");
 	             
@@ -507,6 +515,9 @@
 	    return SendMessageA( hwndEdit, uMsg, wParam, lParam);
 
     /* Messages known , but ignored. */ 
+    case WM_PARENTNOTIFY:
+        DPRINTF_EDIT_MSG32("WM_PARENTNOTIFY");
+        return DefWindowProcA( hwnd,uMsg,wParam,lParam);
     case WM_NCPAINT:
         DPRINTF_EDIT_MSG32("WM_NCPAINT");
         return DefWindowProcA( hwnd,uMsg,wParam,lParam);


More information about the wine-devel mailing list