- if ( m_lastKeydownProcessed )
- {
- // The key was handled in the EVT_KEY_DOWN and handling
- // a key in an EVT_KEY_DOWN handler is meant, by
- // design, to prevent EVT_CHARs from happening
- m_lastKeydownProcessed = FALSE;
- processed = TRUE;
- }
- else // do generate a CHAR event
- {
- processed = HandleChar((WORD)wParam, lParam);
- }
+ // do generate a CHAR event
+ processed = HandleChar((WORD)wParam, lParam);