Ignore:
Timestamp:
May 17, 2002, 3:12:02 PM (23 years ago)
Author:
sandervl
Message:

Experimental DIALOG_IsAccelerator fix; return FALSE if window is not visible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/windlgmsg.cpp

    r7506 r8452  
    1 /* $Id: windlgmsg.cpp,v 1.11 2001-11-30 18:45:51 sandervl Exp $ */
     1/* $Id: windlgmsg.cpp,v 1.12 2002-05-17 13:12:02 sandervl Exp $ */
    22/*
    33 * Win32 dialog message APIs for OS/2
     
    7575    WCHAR buffer[128];
    7676    INT dlgCode;
     77
     78#ifdef __WIN32OS2__
     79    //@PF: Experimental DIALOG_IsAccelerator fix; return FALSE if window is not visible
     80    //(fixes endless loop in property sheet when switching page with keyboard)
     81    if (!IsWindowVisible(hwnd))
     82      return FALSE;
     83#endif
    7784
    7885    if (vKey == VK_SPACE)
Note: See TracChangeset for help on using the changeset viewer.