diff options
27 files changed, 51 insertions, 51 deletions
diff --git a/dbaccess/source/ui/inc/browserids.hxx b/dbaccess/source/ui/inc/browserids.hxx index 9e0879bcf585..ba3404fd0b76 100644 --- a/dbaccess/source/ui/inc/browserids.hxx +++ b/dbaccess/source/ui/inc/browserids.hxx @@ -95,10 +95,10 @@ #define ID_BROWSER_CLOSE SID_CLOSEWIN #define ID_BROWSER_ESCAPEPROCESSING SID_FM_NATIVESQL -#define ID_QUERY_FUNCTION (SID_SBA_START + 41) // Funktionen anzeigen -#define ID_QUERY_TABLENAME (SID_SBA_START + 42) // Tabellennamen anzeigen -#define ID_QUERY_ALIASNAME (SID_SBA_START + 43) // Aliasnamen anzeigen -#define ID_QUERY_DISTINCT (SID_SBA_START + 44) // Distinct anzeigen +#define ID_QUERY_FUNCTION (SID_SBA_START + 41) // show functions +#define ID_QUERY_TABLENAME (SID_SBA_START + 42) // show table name +#define ID_QUERY_ALIASNAME (SID_SBA_START + 43) // show alias name +#define ID_QUERY_DISTINCT (SID_SBA_START + 44) // show distinct #define ID_QUERY_EDIT_JOINCONNECTION (SID_SBA_START + 45) // show-edit Join #define ID_BROWSER_INSERT_ROW (SID_SBA_START + 46) // insert row #define ID_QUERY_ZOOM_IN SID_ZOOM_IN diff --git a/dbaccess/source/ui/querydesign/TableFieldDescription.cxx b/dbaccess/source/ui/querydesign/TableFieldDescription.cxx index 53ff10d9be88..01e4cb8eb081 100644 --- a/dbaccess/source/ui/querydesign/TableFieldDescription.cxx +++ b/dbaccess/source/ui/querydesign/TableFieldDescription.cxx @@ -83,7 +83,7 @@ OTableFieldDesc& OTableFieldDesc::operator=( const OTableFieldDesc& rRS ) m_aAliasName = rRS.GetAlias(); // table range m_aFieldName = rRS.GetField(); // column m_aFieldAlias = rRS.GetFieldAlias(); // column alias - m_aFunctionName = rRS.GetFunction(); // Funktionsname + m_aFunctionName = rRS.GetFunction(); m_pTabWindow = rRS.GetTabWindow(); m_eDataType = rRS.GetDataType(); m_eFunctionType = rRS.GetFunctionType(); diff --git a/extensions/test/ole/cpnt/cpnt.cxx b/extensions/test/ole/cpnt/cpnt.cxx index d61919ea3ec8..2eb8f55aa101 100644 --- a/extensions/test/ole/cpnt/cpnt.cxx +++ b/extensions/test/ole/cpnt/cpnt.cxx @@ -318,7 +318,7 @@ OComponent::~OComponent() } -// Funktions ============================================================================== +// functions ============================================================================== Reference<XInterface> SAL_CALL OComponent_CreateInstance( const Reference<XMultiServiceFactory> & rSMgr ) throw(RuntimeException) { diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index d795395884f7..4d9625486e7a 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -928,7 +928,7 @@ void FormulaDlg_Impl::FillControls(bool &rbNext, bool &rbPrev) m_pFtEditName->SetText(""); pMEdit->SetHelpId( m_aEditHelpId ); } - // Test, ob vorne/hinten noch mehr Funktionen sind + // test if before/after are anymore functions sal_Int32 nTempStart = m_aFormulaHelper.GetArgStart( aFormula, nFStart, 0 ); rbNext = m_aFormulaHelper.GetNextFunc( aFormula, false, nTempStart ); diff --git a/include/svx/svdview.hxx b/include/svx/svdview.hxx index 1beb5e7d93b3..db31c8668825 100644 --- a/include/svx/svdview.hxx +++ b/include/svx/svdview.hxx @@ -274,7 +274,7 @@ public: // bool MouseMove(const MouseEvent& rMEvt, vcl::Window* pWin); // bool Command(const CommandEvent& rCEvt, vcl::Window* pWin); // -// Exchange (Clipboard derzeit noch ohne SdrPrivateData): +// Exchange (Clipboard currently without SdrPrivateData): // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // sal_Bool Cut(sal_uIntPtr nFormat=SDR_ANYFORMAT); // sal_Bool Yank(sal_uIntPtr nFormat=SDR_ANYFORMAT); diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx index 7b844deba3c0..28e982990ab1 100644 --- a/include/vcl/menu.hxx +++ b/include/vcl/menu.hxx @@ -352,7 +352,7 @@ public: Menu& operator =( const Menu& rMenu ); - // Fuer Menu-'Funktionen' + // for menu functions MenuItemList* GetItemList() const { return pItemList.get(); diff --git a/reportdesign/source/ui/dlg/Formula.cxx b/reportdesign/source/ui/dlg/Formula.cxx index 6c3ceb7ac345..43ada4de2c16 100644 --- a/reportdesign/source/ui/dlg/Formula.cxx +++ b/reportdesign/source/ui/dlg/Formula.cxx @@ -105,7 +105,7 @@ void FormulaDialog::dispose() } -// Funktionen fuer rechte Seite +// functions for right side bool FormulaDialog::calculateValue( const OUString& rStrExp, OUString& rStrResult, bool /*bMatrixFormula*/ ) { diff --git a/rsc/inc/rsclex.hxx b/rsc/inc/rsclex.hxx index 1898154a4031..307e6bc8ea7f 100644 --- a/rsc/inc/rsclex.hxx +++ b/rsc/inc/rsclex.hxx @@ -92,11 +92,11 @@ class ObjectStack /****************** F o r w a r d s **************************************/ #if defined(__sun) -extern "C" int yyparse(); // forward Deklaration fuer erzeugte Funktion +extern "C" int yyparse(); // forward declaration for created function extern "C" void yyerror( const char * ); extern "C" int yylex(); #else -int yyparse(); // forward Deklaration fuer erzeugte Funktion +int yyparse(); // forward declaration for created function void yyerror( char * ); int yylex(); #endif diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx index 1331c26b394d..062cf7235c40 100644 --- a/sd/source/ui/view/drviews1.cxx +++ b/sd/source/ui/view/drviews1.cxx @@ -509,7 +509,7 @@ VclPtr<SvxRuler> DrawViewShell::CreateHRuler (::sd::Window* pWin) aWBits = WB_HSCROLL | WB_3DLOOK | WB_BORDER | WB_EXTRAFIELD; nFlags |= SvxRulerSupportFlags::SET_NULLOFFSET | SvxRulerSupportFlags::TABS | - SvxRulerSupportFlags::PARAGRAPH_MARGINS; // Neu + SvxRulerSupportFlags::PARAGRAPH_MARGINS; // new pRuler = VclPtr<Ruler>::Create(*this, GetParentWindow(), pWin, nFlags, GetViewFrame()->GetBindings(), aWBits); diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 505e3c06df9a..ed6a04ad4b90 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -1866,7 +1866,7 @@ void SvNumberformat::ConvertLanguage( SvNumberFormatter& rConverter, rConverter.PutandConvertEntry( aFormatString, nCheckPos, nType, nKey, eConvertFrom, eConvertTo ); const SvNumberformat* pFormat = rConverter.GetEntry( nKey ); - DBG_ASSERT( pFormat, "SvNumberformat::ConvertLanguage: Conversion ohne Format" ); + DBG_ASSERT( pFormat, "SvNumberformat::ConvertLanguage: Conversion without format" ); if ( pFormat ) { ImpCopyNumberformat( *pFormat ); diff --git a/svtools/source/control/asynclink.cxx b/svtools/source/control/asynclink.cxx index e9995af5473b..16bccb92a2b6 100644 --- a/svtools/source/control/asynclink.cxx +++ b/svtools/source/control/asynclink.cxx @@ -41,7 +41,7 @@ void AsynchronLink::Call( void* pObj, bool bAllowDoubles ) _pArg = pObj; DBG_ASSERT( bAllowDoubles || ( !_nEventId && ( !_pIdle || !_pIdle->IsActive() ) ), - "Schon ein Call unterwegs" ); + "Already made a call" ); ClearPendingCall(); if( _pMutex ) _pMutex->acquire(); _nEventId = Application::PostUserEvent( LINK( this, AsynchronLink, HandleCall_PostUserEvent) ); diff --git a/vcl/inc/helpwin.hxx b/vcl/inc/helpwin.hxx index 4d9ea576f0b2..c2d068c1c79e 100644 --- a/vcl/inc/helpwin.hxx +++ b/vcl/inc/helpwin.hxx @@ -62,7 +62,7 @@ public: sal_uInt16 GetWinStyle() const { return mnHelpWinStyle; } QuickHelpFlags GetStyle() const { return mnStyle; } - // Nur merken: + // only remember: void SetStatusText( const OUString& rStatusText ) { maStatusText = rStatusText; } void SetHelpArea( const tools::Rectangle& rRect ) { maHelpArea = rRect; } diff --git a/vcl/inc/listbox.hxx b/vcl/inc/listbox.hxx index 43fe803bfaf6..04b7d0f61c5c 100644 --- a/vcl/inc/listbox.hxx +++ b/vcl/inc/listbox.hxx @@ -361,9 +361,9 @@ private: VclPtr<ScrollBar> mpVScrollBar; VclPtr<ScrollBarBox> mpScrollBarBox; - bool mbVScroll : 1; // VScroll an oder aus - bool mbHScroll : 1; // HScroll an oder aus - bool mbAutoHScroll : 1; // AutoHScroll an oder aus + bool mbVScroll : 1; // VScroll on or off + bool mbHScroll : 1; // HScroll on or off + bool mbAutoHScroll : 1; // AutoHScroll on or off bool mbEdgeBlending : 1; Link<ImplListBox*,void> maScrollHdl; // because it is needed by ImplListBoxWindow itself diff --git a/vcl/inc/win/salframe.h b/vcl/inc/win/salframe.h index 177a28cbf9cf..3ee87512c9cc 100644 --- a/vcl/inc/win/salframe.h +++ b/vcl/inc/win/salframe.h @@ -61,18 +61,18 @@ public: bool mbFloatWin; // is a FloatingWindow bool mbFullScreen; // TRUE: in full screen mode bool mbPresentation; // TRUE: Presentation Mode running - bool mbInShow; // innerhalb eines Show-Aufrufs + bool mbInShow; // inside a show call bool mbRestoreMaximize; // Restore-Maximize - bool mbInMoveMsg; // Move-Message wird verarbeitet - bool mbInSizeMsg; // Size-Message wird verarbeitet + bool mbInMoveMsg; // Move-Message is being processed + bool mbInSizeMsg; // Size-Message is being processed bool mbFullScreenToolWin; // WS_EX_TOOLWINDOW reset in FullScreenMode bool mbDefPos; // default-position - bool mbOverwriteState; // TRUE: WindowState darf umgesetzt werden + bool mbOverwriteState; // TRUE: possible to change WindowState bool mbIME; // TRUE: We are in IME Mode - bool mbHandleIME; // TRUE: Wir handeln die IME-Messages - bool mbSpezIME; // TRUE: Spez IME - bool mbAtCursorIME; // TRUE: Wir behandeln nur einige IME-Messages - bool mbCandidateMode; // TRUE: Wir befinden uns im Candidate-Modus + bool mbHandleIME; // TRUE: We are handling the IME-Messages + bool mbSpezIME; // TRUE: special IME + bool mbAtCursorIME; // TRUE: We are only handling some IME-Messages + bool mbCandidateMode; // TRUE: We are in Candidate-Mode static bool mbInReparent; // TRUE: ignore focus lost and gain due to reparenting RGNDATA* mpClipRgnData; diff --git a/vcl/inc/win/salobj.h b/vcl/inc/win/salobj.h index c351a1895544..5ebdb7afb417 100644 --- a/vcl/inc/win/salobj.h +++ b/vcl/inc/win/salobj.h @@ -28,11 +28,11 @@ class WinSalObject : public SalObject public: HWND mhWnd; // Window handle HWND mhWndChild; // Child Window handle - HWND mhLastFocusWnd; // Child-Window, welches als letztes den Focus hatte + HWND mhLastFocusWnd; // Child-Window, which had the last focus SystemEnvData maSysData; // SystemEnvData RGNDATA* mpClipRgnData; // ClipRegion-Data RGNDATA* mpStdClipRgnData; // Cache Standard-ClipRegion-Data - RECT* mpNextClipRect; // Naechstes ClipRegion-Rect + RECT* mpNextClipRect; // next ClipRegion-Rect bool mbFirstClipRect; // Flag for first cliprect to insert WinSalObject* mpNextObject; // pointer to next object diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index fa559c150117..7039dd14f578 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -74,7 +74,7 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; // - Redo -// - Bei Tracking-Cancel DefaultSelection wieder herstellen +// - if Tracking-Cancel recreate DefaultSelection static FncGetSpecialChars pImplFncGetSpecialChars = nullptr; @@ -1124,18 +1124,18 @@ void Edit::ImplShowCursor( bool bOnlyIfVisible ) else { mnXOffset = (aOutSize.Width()-ImplGetExtraXOffset()) - nTextPos; - // Etwas mehr? + // Somthing more? if ( (aOutSize.Width()-ImplGetExtraXOffset()) < nTextPos ) { long nMaxNegX = (aOutSize.Width()-ImplGetExtraXOffset()) - GetTextWidth( aText ); mnXOffset -= aOutSize.Width() / 5; - if ( mnXOffset < nMaxNegX ) // beides negativ... + if ( mnXOffset < nMaxNegX ) // both negativ... mnXOffset = nMaxNegX; } } nCursorPosX = nTextPos + mnXOffset + ImplGetExtraXOffset(); - if ( nCursorPosX == aOutSize.Width() ) // dann nicht sichtbar... + if ( nCursorPosX == aOutSize.Width() ) // then invisible... nCursorPosX--; if ( mnXOffset != nOldXOffset ) @@ -2678,7 +2678,7 @@ void Edit::SetSubEdit(Edit* pEdit) if (mpSubEdit) { - SetPointer(PointerStyle::Arrow); // Nur das SubEdit hat den BEAM... + SetPointer(PointerStyle::Arrow); // Only SubEdit has the BEAM... mpSubEdit->mbIsSubEdit = true; mpSubEdit->SetReadOnly(mbReadOnly); @@ -2815,12 +2815,12 @@ void Edit::dragGestureRecognized( const css::datatransfer::dnd::DragGestureEvent SolarMutexGuard aVclGuard; if ( !IsTracking() && maSelection.Len() && - !(GetStyle() & WB_PASSWORD) && (!mpDDInfo || !mpDDInfo->bStarterOfDD) ) // Kein Mehrfach D&D + !(GetStyle() & WB_PASSWORD) && (!mpDDInfo || !mpDDInfo->bStarterOfDD) ) // no repeated D&D { Selection aSel( maSelection ); aSel.Justify(); - // Nur wenn Maus in der Selektion... + // only if mouse in the selection... Point aMousePos( rDGE.DragOriginX, rDGE.DragOriginY ); sal_Int32 nCharPos = ImplGetCharPos( aMousePos ); if ( (nCharPos >= aSel.Min()) && (nCharPos < aSel.Max()) ) @@ -2832,7 +2832,7 @@ void Edit::dragGestureRecognized( const css::datatransfer::dnd::DragGestureEvent mpDDInfo->aDndStartSel = aSel; if ( IsTracking() ) - EndTracking(); // Vor D&D Tracking ausschalten + EndTracking(); // before D&D disable tracking vcl::unohelper::TextDataObject* pDataObj = new vcl::unohelper::TextDataObject( GetSelected() ); sal_Int8 nActions = datatransfer::dnd::DNDConstants::ACTION_COPY; diff --git a/vcl/source/edit/textdata.cxx b/vcl/source/edit/textdata.cxx index 4705386be87e..0ab5d92d7c28 100644 --- a/vcl/source/edit/textdata.cxx +++ b/vcl/source/edit/textdata.cxx @@ -143,7 +143,7 @@ std::size_t TETextPortionList::FindPortion( sal_Int32 nCharPos, sal_Int32& nPort } } } - OSL_FAIL( "FindPortion: Nicht gefunden!" ); + OSL_FAIL( "FindPortion: Not found!" ); return ( maPortions.size() - 1 ); } diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx index 4301ae5c167c..f9eeca9f767d 100644 --- a/vcl/source/edit/vclmedit.cxx +++ b/vcl/source/edit/vclmedit.cxx @@ -274,7 +274,7 @@ void ImpVclMEdit::ImpSetScrollBarRanges() if ( mpHScrollBar ) { // sal_uLong nTextWidth = mpTextWindow->GetTextEngine()->CalcTextWidth(); - // Es gibt kein Notify bei Breiten-Aenderung... + // there is no Notify by width change // sal_uLong nW = Max( (sal_uLong)mpTextWindow->GetOutputSizePixel().Width()*5, (sal_uLong)nTextWidth ); // mpHScrollBar->SetRange( Range( 0, (long)nW ) ); mpHScrollBar->SetRange( Range( 0, mnTextWidth-1 ) ); diff --git a/vcl/source/filter/sgvspln.cxx b/vcl/source/filter/sgvspln.cxx index fae580ecfae0..0e8740a2f4f7 100644 --- a/vcl/source/filter/sgvspln.cxx +++ b/vcl/source/filter/sgvspln.cxx @@ -270,7 +270,7 @@ sal_uInt16 ZyklTriDiagGS(sal_uInt16 n, double* lower, double* diag, /* ( 0 . . . upper[n-2] ) */ /* ( lowrow[0] 0 . . 0 lower[n-1] diag[n-1] ) */ /* */ -/* Memory for lowrow[1],..,lowrow[n-3] und ricol[1],...,ricol[n-3] */ +/* Memory for lowrow[1],..,lowrow[n-3] and ricol[1],...,ricol[n-3] */ /* should be provided separately, as this should be available to */ /* store the decomposition matrix, which is overwriting */ /* the 5 vectors mentioned. */ diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx index affe3de0e695..68a66800b13b 100644 --- a/vcl/source/gdi/pngwrite.cxx +++ b/vcl/source/gdi/pngwrite.cxx @@ -78,7 +78,7 @@ private: sal_uLong mnWidth; sal_uLong mnHeight; sal_uInt8 mnBitsPerPixel; - sal_uInt8 mnFilterType; // 0 oder 4; + sal_uInt8 mnFilterType; // 0 or 4; sal_uLong mnBBP; // bytes per pixel ( needed for filtering ) bool mbTrueAlpha; sal_uLong mnCRC; diff --git a/vcl/source/window/cursor.cxx b/vcl/source/window/cursor.cxx index 819db146bc5e..7fadc20317e7 100644 --- a/vcl/source/window/cursor.cxx +++ b/vcl/source/window/cursor.cxx @@ -37,8 +37,8 @@ struct ImplCursorData short mnOrientation; // Pixel-Orientation CursorDirection mnDirection; // indicates writing direction sal_uInt16 mnStyle; // Cursor-Style - bool mbCurVisible; // Ist Cursor aktuell sichtbar - VclPtr<vcl::Window> mpWindow; // Zugeordnetes Windows + bool mbCurVisible; // Is cursor currently visible + VclPtr<vcl::Window> mpWindow; // assigned window }; static void ImplCursorInvert( ImplCursorData* pData ) diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 75cc405e2f32..8589a9b01a0a 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -4373,13 +4373,13 @@ void ToolBox::Resizing( Size& rSize ) ImplToolItems::size_type nCalcLines; ImplToolItems::size_type nTemp; - // Alle Floatinggroessen berechnen + // calculate all floating sizes ImplCalcFloatSizes(); if ( !mnLastResizeDY ) mnLastResizeDY = mnDY; - // Ist vertikales Resizing angesagt + // is vertical resizing needed if ( (mnLastResizeDY != rSize.Height()) && (mnDY != rSize.Height()) ) { nCalcLines = ImplCalcLines( rSize.Height() ); diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index a88d1c0c8a40..4db55175a0c8 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -281,11 +281,11 @@ IMPL_LINK( Window, ImplTrackTimerHdl, Timer*, pTimer, void ) { ImplSVData* pSVData = ImplGetSVData(); - // Bei Button-Repeat muessen wir den Timeout umsetzen + // if Button-Repeat we have to change the timeout if ( pSVData->maWinData.mnTrackFlags & StartTrackingFlags::ButtonRepeat ) pTimer->SetTimeout( GetSettings().GetMouseSettings().GetButtonRepeat() ); - // Tracking-Event erzeugen + // create Tracking-Event Point aMousePos( mpWindowImpl->mpFrameData->mnLastMouseX, mpWindowImpl->mpFrameData->mnLastMouseY ); if( ImplIsAntiparallel() ) { diff --git a/vcl/source/window/wrkwin.cxx b/vcl/source/window/wrkwin.cxx index ff7bd64cce91..1c75de766cb8 100644 --- a/vcl/source/window/wrkwin.cxx +++ b/vcl/source/window/wrkwin.cxx @@ -255,7 +255,7 @@ bool WorkWindow::Close() { bool bCanClose = SystemWindow::Close(); - // Ist es das Applikationsfenster, dann beende die Applikation + // if it's the application window then close the application if ( bCanClose && ( ImplGetSVData()->maWinData.mpAppWin == this ) ) Application::Quit(); diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx index 8fa71a19a9da..b46287d52116 100644 --- a/vcl/unx/generic/app/saldisp.cxx +++ b/vcl/unx/generic/app/saldisp.cxx @@ -2850,7 +2850,7 @@ Pixel SalColormap::GetPixel( SalColor nSalColor ) const const_cast<SalColormap*>(this)->GetLookupTable(); } - // Colormatching ueber Palette + // color matching via palette sal_uInt16 r = SALCOLOR_RED ( nSalColor ); sal_uInt16 g = SALCOLOR_GREEN( nSalColor ); sal_uInt16 b = SALCOLOR_BLUE ( nSalColor ); diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index a6e92e24b210..41eb6aa3d2c6 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -5208,7 +5208,7 @@ static void ImplHandleIMENotify( HWND hWnd, WPARAM wParam ) if ( pFrame && pFrame->mbHandleIME && pFrame->mbAtCursorIME ) { - // we want to hide der cursor + // we want to hide the cursor pFrame->mbCandidateMode = TRUE; ImplHandleIMEComposition( hWnd, GCS_CURSORPOS ); diff --git a/vcl/win/window/salobj.cxx b/vcl/win/window/salobj.cxx index 808f6c85d764..e7511d5eaf53 100644 --- a/vcl/win/window/salobj.cxx +++ b/vcl/win/window/salobj.cxx @@ -201,7 +201,7 @@ bool ImplSalPreDispatchMsg( MSG* pMsg ) pSalData->mnSalObjWantKeyEvt = 0; sal_uInt16 nKeyCode = LOWORD( pMsg->wParam ); - // Nur 0-9 und A-Z + // only 0-9 and A-Z if ( ((nKeyCode >= 48) && (nKeyCode <= 57)) || ((nKeyCode >= 65) && (nKeyCode <= 90)) || ((nKeyCode >= 97) && (nKeyCode <= 122)) ) |