Hi Thierry,
Starting with PocketHAL 0.7.5 (or possibly 0.7.6), PocketHAL applications using GapiDraw receive the WM_ACTIVATE (WA_INACTIVE == LOWORD(wParam)) event after the first Swap().
The thing is that GapiDraw once it receives this event minimizes nicely, to allow for incoming phone calls etc (which also send this event). I don't know how the PocketHAL samples work on Smartphones, but it is my guess that they just keep on running even after they receive the INACTIVATE event. All GapiDraw samples however simply minimize once they are started.
I can add a switch to my application wrapper to simply ignore this event if PocketHAL is used, but a better solution would be that this is fixed in PocketHAL. This issue has been tested on various devices such as the hx4700, the ipaq 2210, and the Viewsonic v37.
Regards,
Johan
Starting with PocketHAL 0.7.5 (or possibly 0.7.6), PocketHAL applications using GapiDraw receive the WM_ACTIVATE (WA_INACTIVE == LOWORD(wParam)) event after the first Swap().
The thing is that GapiDraw once it receives this event minimizes nicely, to allow for incoming phone calls etc (which also send this event). I don't know how the PocketHAL samples work on Smartphones, but it is my guess that they just keep on running even after they receive the INACTIVATE event. All GapiDraw samples however simply minimize once they are started.
I can add a switch to my application wrapper to simply ignore this event if PocketHAL is used, but a better solution would be that this is fixed in PocketHAL. This issue has been tested on various devices such as the hx4700, the ipaq 2210, and the Viewsonic v37.
Regards,
Johan