OSDN Git Service

Powerpoint appModule: better detection of Slide Show vs Document window:
authorMichael Curran <mick@kulgan.net>
Tue, 25 Dec 2012 01:10:45 +0000 (11:10 +1000)
committerMichael Curran <mick@kulgan.net>
Tue, 25 Dec 2012 01:10:45 +0000 (11:10 +1000)
commit172032a17a1b51ff1d4e0b7ec4d4a41e4bf2f178
tree084fbbb6f54fad6f21bf0712c80e0a0a68b8ad1b
parent780180a7207a70865fba415ef327d283f3f00a8d
Powerpoint appModule: better detection of Slide Show vs Document window:
* PaneClassDC NVDAObject: implement a FindOverlayClasses which chooses DocumentWindow or SlideShowWindow if available, by looking at the object given back by fetching the Powerpoint object model.
* Rather than using the appModule's chooseNVDAObjectOverLayClass, use the appModule's event_gainFocus and instanciate a new PaneClassDC instance and bounce focus there.
source/appModules/powerpnt.py