This fixes the problem with regedit (regedit freezes after opening a
child window).
Regards
Christian
------------------------------------------------------
Index: framewnd.c
===================================================================
RCS file: /CVS/ReactOS/reactos/subsys/system/regedit/framewnd.c,v
retrieving revision 1.11
diff -u -p -r1.11 framewnd.c
--- framewnd.c 11 Oct 2004 21:08:05 -0000 1.11
+++ framewnd.c 18 Nov 2004 21:56:01 -0000
@@ -670,8 +670,10 @@ FrameWndProc(HWND hWnd, UINT message, WP
OnMenuSelect(hWnd, LOWORD(wParam), HIWORD(wParam), (HMENU)lParam);
break;
case WM_ACTIVATE:
- if (LOWORD(hWnd))
- SetFocus(g_pChildWnd->hWnd);
+ // I don't know what this is supposed to do (except for
creating an infinite "setfocus loop").
+ // If someone ever figures it out put it back in plz.
+ //if (LOWORD(hWnd))
+ // SetFocus(g_pChildWnd->hWnd);
break;
case WM_DESTROY:
WinHelp(hWnd, _T("regedit"), HELP_QUIT, 0);
------------------------------------------------------