I have a view based application and have a class which is derived from CAknForm. In the RSS file I use the switch 'EEikDialogFlagWait' so that dialog should be dismissed before the code proceeds.

I have a problem in that if my application loses focus while the form is onscreen, when the screen is refreshed, I don't see the form, but rather the view.

Does anyone have any idea why this is happening and what I should look at to ensure that the form is redrawn, rather than only the container that called it.

Thank you!