UINT asciiCode = MapVirtualKey(nChar, 2); if( (asciiCode >= 48 && asciiCode <= 57) || asciiCode == 46) CEdit::OnKeyDown(nChar, nRepCnt, nFlags); else nChar = 0;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)