
Originally Posted by
n-code
I'm shoing modal dialog box in two ways - one way from HandleCommandL - it works fine. Another way from OfferKeyEventL.
In this case program works strange.
I check for key code and if EStdKeyDevice3 was pressed I create dialog and call ExecuteLD.
Dialog is contructed, then PreLayoutDynInitL called. After this immideatly called OkToExitL and dialog destructed even haven't been appared on the screen.
May be it is not possible to call for modal dialogs for offer key event or may be dialog reseives still not consumed key?
How to solve this problem?