Lines Matching refs:nKeyCode
1818 USHORT nKeyCode = nCode & 0x0FFF; in GetKeyName() local
1819 if ( (nKeyCode >= KEY_0) && (nKeyCode <= KEY_9) ) in GetKeyName()
1820 aCode = sal::static_int_cast<sal_Char>('0' + (nKeyCode - KEY_0)); in GetKeyName()
1821 else if ( (nKeyCode >= KEY_A) && (nKeyCode <= KEY_Z) ) in GetKeyName()
1822 aCode = sal::static_int_cast<sal_Char>('A' + (nKeyCode - KEY_A)); in GetKeyName()
1823 else if ( (nKeyCode >= KEY_F1) && (nKeyCode <= KEY_F26) ) in GetKeyName()
1826 if ( (nKeyCode >= KEY_F1) && (nKeyCode <= KEY_F9) ) in GetKeyName()
1828 aCode += sal::static_int_cast<sal_Char>('1' + (nKeyCode - KEY_F1)); in GetKeyName()
1830 else if ( (nKeyCode >= KEY_F10) && (nKeyCode <= KEY_F19) ) in GetKeyName()
1833 aCode += sal::static_int_cast<sal_Char>('0' + (nKeyCode - KEY_F10)); in GetKeyName()
1838 aCode += sal::static_int_cast<sal_Char>('0' + (nKeyCode - KEY_F20)); in GetKeyName()
1843 switch ( nKeyCode ) in GetKeyName()
1937 XubString Os2SalFrame::GetSymbolKeyName( const XubString&, USHORT nKeyCode ) in GetSymbolKeyName() argument
1939 return GetKeyName( nKeyCode ); in GetSymbolKeyName()
2598 USHORT nKeyCode = (UCHAR)SHORT2FROMMP( aMP2 ); in ImplSalGetKeyCode() local
2604 if ( (nKeyFlags & KC_VIRTUALKEY) && (nKeyCode < KEY_TAB_SIZE) ) in ImplSalGetKeyCode()
2605 rSVCode = aImplTranslateKeyTab[nKeyCode]; in ImplSalGetKeyCode()
2744 USHORT nKeyCode = (UCHAR)SHORT2FROMMP( aMP2 ); in ImplConvertKey() local
3561 USHORT nKeyCode = (UCHAR)SHORT2FROMMP( pMsg->mp2 ); in SalFrameWndProc() local
3564 (nKeyFlags & KC_SHIFT) && (nKeyCode != VK_ESC) ) in SalFrameWndProc()
3567 if ( nKeyCode == VK_F1 ) in SalFrameWndProc()