Thanks, that worked awesome for me. Now I can spawn the application from my app. My only remaining issue is that when I hit the "home" key on the child application, it goes back to the main menu and exits my application, but leaves the child application running. So if I spawn calc.app, hit home, then my application is dead but calc.app is still running and so is the main menu. Then the navigation keys will paint both a change on the main menu and simultaneously key selection change on calc.app, which is overlayed with the menu.
I suspect that I can capture EVT_EXIT on my app, then kill any child processes that I spawned as my app exits, but I'd prefer to capture the home keypress and abort the exit. Anyone have any experience with overriding the built-in key handler? Alternately If I had the source to pdfviewer I could just recompile that app. Is there any access to the source code of pdfviewer that's a bit more current? Or is the link that rkomar posted the most up to date (for the 902)?
|