Author: janderwald Date: Sun Jul 23 22:12:19 2006 New Revision: 23251
URL: http://svn.reactos.org/svn/reactos?rev=23251&view=rev Log: * use supplied parent window handle when class is of type system * this is temp hack for getting edit controls with notification windows going * reduces user32_winetest.exe from 43 to 2 total faults
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/ntu... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/ntuser/window.c (original) +++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c Sun Jul 23 22:12:19 2006 @@ -1506,6 +1506,17 @@ { DPRINT1("Failed to reference window class!\n"); RETURN(NULL); + } + + if (Class->System) + { + if (hWndParent) + { + /* HACK + * use supplied window handle for notifications + */ + ParentWindowHandle = hWndParent; + } }
WinSta = PsGetCurrentThreadWin32Thread()->Desktop->WindowStation;