Guest gevans2000 Posted August 1, 2003 Report Posted August 1, 2003 Hello all. This question has, I think, been asked before but with a quick search through the posts I couldn't find an answer. I know that a GapiDraw app can now be minimised when an incoming call message is received but I don;t know what message I should be listening for. I assume it is one featured in TAPI.h but I could be completely wrong. I'm kind of a beginner to all this winCE API stuff so advice on any initialisation and files to include would be greatfully received.
Guest gevans2000 Posted August 1, 2003 Report Posted August 1, 2003 OK - I have just had my question answered on the GapiDraw forum but I'll post it here as well just in case anyone else is stuck (or doesn't know how to read the manual like me!!) If you are using the base class CGapiApplication you need to set the parameter bMinimizeOnLostFocus in GDAPPCONFIG (winmain) to true. One other thing I noticed was that if you are using the Hekkus sound system then you must call CGapiHekkusApplication::OnMinimize() from within CMyApplication::OnMinimize() otherwise the music/SFX will continue while the phone is ringing (but not from what I can see, during the phone call)
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now