tags:

views:

33

answers:

0

Hi, Im using C# Dll in MFC.So for keyboard entering.I didnt get any alphabets.So i add this follwing code.

BOOL CToolTab::PreTranslateMessage(MSG* pMsg)
{       
        return System::Windows::Interop::ComponentDispatcher::RaiseThreadMessage(
        *reinterpret_cast<System::Windows::Interop::MSG*>(pMsg));
}

By this code i get my work.I can enter all alphabets.But i cannot do DELETE.When i select text and press DELETE,the text cannot get deleted.Backspace is working.