"Jerome Chan" <
[hidden email]> wrote in message
news:
[hidden email]...
> I'm using onViewClosed to save the position of a window but somehow I'm
> getting some weird behaviour.
>
> While running the Shell under the image, onViewClosed gets called once
> when I close the View. When I deploy it as a To Go Application, the
> onViewClosed method is called 3 times (I put a MessageBox up, 3 of them
> appeared).
>
> Am I doing something wrong?
Yes. If you put up a message box in #onViewClosed you must make it
#taskModal (look for references to that for examples).
Regards
Blair