OSDN Git Service

Fix for #1285 (focus tracking in Outlook 2010 message list):
authorMichael Curran <mick@kulgan.net>
Fri, 8 Jul 2011 05:53:47 +0000 (15:53 +1000)
committerMichael Curran <mick@kulgan.net>
Fri, 8 Jul 2011 05:53:47 +0000 (15:53 +1000)
commit7b5ffa03f07485a8f7f14226ba8e690050978e80
tree273ce2223e5a0bb2d2751ff0244f3d8d7cfcecc6
parent7a33cf8d85841016349d74adb3e90f416e492b73
Fix for #1285 (focus tracking in Outlook 2010 message list):
* Add the 'SUPERGRID' window class to the list of BAD UIA implementations. We must resort to MSAA for the Outlook 2010 message list as  it 1. does not fire a UIA focus event on each item, and 2. does not set the focused state on the focused item.
* Create a new overlay class in the outlook appModule to handle the client of SUPERGRID, and override its isDuplicateIAccessibleEvent method, always returning false. This is because when the focus moves from message to message, the same focus winEvent is fired, on the client (OBJID_CLIENT,0), but that particular MSAA object keeps mutating itself. Therefore we can not filter out duplicate events.
source/_UIAHandler.py
source/appModules/outlook.py
user_docs/en/changes.t2t