Example #1
0
        private void ProcessKeyDownWndPrc(uint wParam, uint lParam)
        {
            //We process the keys here instead of the OnKeyDown event, because the OnKeyDown has made
            //some mistakes in converting e.KeyValue to char...

            //Convert wParam to char...
            char c = (char)wParam;


            if (!char.IsLetterOrDigit(c))
            {
                //Char is not alphanumerical
                m_IntellisenseManager.TypeNonAlphaNumerical(c);
            }
            else
            {
                //Char is alphanumerical
                m_IntellisenseManager.TypeAlphaNumerical(c);
            }
        }