[ros-diffs] [jimtabor] 41992: - Hax Fix: Edit control atom support, see bug 4705.

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Thu Jul 16 19:56:19 CEST 2009


Author: jimtabor
Date: Thu Jul 16 19:56:19 2009
New Revision: 41992

URL: http://svn.reactos.org/svn/reactos?rev=41992&view=rev
Log:
- Hax Fix: Edit control atom support, see bug 4705.

Modified:
    trunk/reactos/subsystems/win32/win32k/ntuser/window.c

Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/window.c?rev=41992&r1=41991&r2=41992&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Thu Jul 16 19:56:19 2009
@@ -2251,7 +2251,8 @@
    /* BugBoy Comments: if the window being created is a edit control, ATOM 0xC007,
       then my testing shows that windows (2k and XP) creates a CallProc for it immediately 
       Dont understand why it does this. */
-   if (ClassAtom == 0XC007)
+//   if (ClassAtom == gpsi->atomSysClass[ICLS_EDIT]) <--- real fix!
+   if (ClassAtom == 0XC008) // <--- HACK!!!!
    {
       PCALLPROC CallProc;
       //CallProc = CreateCallProc(NULL, Wnd->WndProc, bUnicodeWindow, Wnd->ti->ppi);



More information about the Ros-diffs mailing list