For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > May 2005 > to know when Dialer app is active window









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author to know when Dialer app is active window
Tomal

2005-05-26, 3:58 am

Hi All,

I'm working with Smartphone(wince).
I would like to know the status of Dialer app. Specially when the
dialer app is the active window.

Any help would be highly appreciated

Regards,
Tomal

riki

2005-05-26, 9:01 pm

Tomal wrote:
> Hi All,
>
> I'm working with Smartphone(wince).
> I would like to know the status of Dialer app. Specially when the
> dialer app is the active window.


depends what your trying to achieve, if your dealing with Windows Mobile
for Smartphone (not just a WinCE phone) and you just want to pause your
app, so it doesn't interfear, then just respond to WM_ACTIVATE.

If you want to activly DO something when the dialog appears, perhaps
sitting in the background, then you will need to poll the active window
(GetActiveWindow()) then check it against the dialer, say FindWindow().

riki

main(){printf("%d != %d, why?", sizeof('"')["'"],(sizeof('"'))["]\"\0["]);}
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
By Day: http://www.EmbeddedFusion.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com