Show
Ignore:
Timestamp:
10/12/08 08:55:18 (3 months ago)
Author:
pvagner
Message:

* some enhancements for keyboard support by Aleksey:
* While the keyboard help is turned on NVDA can speak all the keys including the key modifiers.
* Tweaked anouncing of the scripts description while the keyboard help is turned on.
* added ability to translate keynames.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/winUser.py

    r2177 r2429  
    7474WM_GETTEXT=13 
    7575WM_GETTEXTLENGTH=14 
     76WM_PAINT=0x000F 
    7677#Clipboard formats 
    7778CF_TEXT=1 
     
    377378def getKeyboardLayout(idThread=0): 
    378379        return user32.GetKeyboardLayout(idThread) 
     380 
     381def updateWindow(hwnd): 
     382        return user32.UpdateWindow(hwnd) 
     383 
     384def invalidateRect(hwnd): 
     385        return user32.InvalidateRect(hwnd,None,False) 
     386 
     387def getKeyNameText(scanCode,extended): 
     388        buf=create_unicode_buffer(32) 
     389        user32.GetKeyNameTextW((scanCode<<16)|(extended<<24),buf,31) 
     390        return buf.value