reactos/subsys/win32k/ntuser
diff -u -r1.22 -r1.23
--- focus.c 10 May 2004 17:07:18 -0000 1.22
+++ focus.c 20 Jun 2004 22:25:14 -0000 1.23
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: focus.c,v 1.22 2004/05/10 17:07:18 weiden Exp $
+ * $Id: focus.c,v 1.23 2004/06/20 22:25:14 gvg Exp $
*/
#include <w32k.h>
@@ -151,6 +151,12 @@
return FALSE;
}
+ if (0 == (Window->Style & WS_VISIBLE))
+ {
+ DPRINT("Failed - Invisible\n");
+ return FALSE;
+ }
+
PrevForegroundQueue = IntGetFocusMessageQueue();
if (PrevForegroundQueue != 0)
{