So working away on my engine, I've come across this issue.
What's the best way of handling the loss of focus when a text message or phone call arrives under PocketHAL?
This has very little (if anything) to do with PocketHAL. If your Window is desactivated, a game probably should pause and stop rendering until it is activated again. But if you aren't a game, then it depends on your program.
If you look at the samples (Firework and Minimal), they both suspend rendering and wait for the window to be re-activated.
Well I meant under PocketHAL in that I'm running full screen.
More than anything, I'm just wondering how other people handle this. Is there a message you can listen for to prepare for such an event?
Yes and I answered your question. Just listen to WM_ACTIVATE and deal with it as you want.