Skip to content

Commit

Permalink
UIA/Windows 10 Anniv Update: UAC dialog text is now announced. re #5942
Browse files Browse the repository at this point in the history
… (#6072)

Since Redstone build 14332 or 14328, a redesigned User Account Control (UAC) dialog is present which uses XAML. This commit allows NvDA to detect such modifications, thus allowing UAC prmopt to be announced.

Fixes #5942
  • Loading branch information
josephsl authored and michaelDCurran committed Jul 18, 2016
1 parent f97a98c commit 8d24688
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/NVDAObjects/UIA/__init__.py
Expand Up @@ -2,7 +2,7 @@
#A part of NonVisual Desktop Access (NVDA)
#This file is covered by the GNU General Public License.
#See the file COPYING for more details.
#Copyright (C) 2009-2016 NV Access Limited, Mohammad Suliman
#Copyright (C) 2009-2016 NV Access Limited, Joseph Lee, Mohammad Suliman

from ctypes import byref
from ctypes.wintypes import POINT, RECT
Expand Down Expand Up @@ -364,7 +364,8 @@ def findOverlayClasses(self,clsList):
pass
elif UIAControlType==UIAHandler.UIA_ListItemControlTypeId:
clsList.append(ListItem)
if self.UIAIsWindowElement and UIAClassName in ("#32770","NUIDialog"):
# #5942: In recent Windows 10 Redstone builds (14332 and later), Microsoft rewrote various dialog code including that of User Account Control.
if self.UIAIsWindowElement and UIAClassName in ("#32770","NUIDialog", "Credential Dialog Xaml Host"):
clsList.append(Dialog)

clsList.append(UIA)
Expand Down

0 comments on commit 8d24688

Please sign in to comment.