How can I identify the key envent from the char map dialog in function OfferKeyEventL()?

I wrote a custom container with a CEikGlobalTextEditor control inside.
In function OfferKeyEventL(), I used left and right key event to do something I want.

But when I input some Chinese character, the char map dialog will show up and when I used left and right key to select the character, function OfferKeyEventL() will be called.The unexpected left and right key envent was received.

Is there anyway to identify the key envent from the char map dialog?
I only want to deal with left and right key envent from the CEikGlobalTextEditor control, not the char map dialog.