[ros-diffs] [sedwards] 35139: Match Wine behavior for AllowSetForegroundWindow Only show the debug message once

sedwards at svn.reactos.org sedwards at svn.reactos.org
Wed Aug 6 12:34:36 CEST 2008


Author: sedwards
Date: Wed Aug  6 05:34:36 2008
New Revision: 35139

URL: http://svn.reactos.org/svn/reactos?rev=35139&view=rev
Log:
Match Wine behavior for AllowSetForegroundWindow
Only show the debug message once


Modified:
    trunk/reactos/dll/win32/user32/windows/window.c

Modified: trunk/reactos/dll/win32/user32/windows/window.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/window.c?rev=35139&r1=35138&r2=35139&view=diff
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/window.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/window.c [iso-8859-1] Wed Aug  6 05:34:36 2008
@@ -46,8 +46,13 @@
 BOOL STDCALL
 AllowSetForegroundWindow(DWORD dwProcessId)
 {
-  UNIMPLEMENTED;
-  return(FALSE);
+  static BOOL show_message = TRUE;
+  if (show_message)
+  {  
+    UNIMPLEMENTED;
+    show_message = FALSE;
+  } 
+  return TRUE;
 }
 
 



More information about the Ros-diffs mailing list