Hi,

I'm working on a PPC Phone edition with windows mobile 2003 SE and I'm
making an application which handles incoming calls (amongst other things).
Therefore I would like to disable the dialogbox that windows brings up when
the phone rings. Is this possibly in anyway? Also, I would like to disable
the ringing sound, as my program generates one itself.

Can anybody help me out?

Thanks in advance.
Per Rasmussen.

Re: How to disable the dialogbox when the phone rings? by Alex

Alex
Tue Aug 16 20:24:18 CDT 2005

Being a consumer device and primarily a phone, Pocket PC goes to some
trouble making sure that the user *always* gets the call notification (both
visual and audible). Other than by killing cprog.exe process, I'm not aware
of how one can disable it. Obviously killing the process is discouraged

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Per Rasmussen" <p@p.dk> wrote in message
news:OVkn%23JroFHA.1148@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I'm working on a PPC Phone edition with windows mobile 2003 SE and I'm
> making an application which handles incoming calls (amongst other things).
> Therefore I would like to disable the dialogbox that windows brings up
> when the phone rings. Is this possibly in anyway? Also, I would like to
> disable the ringing sound, as my program generates one itself.
>
> Can anybody help me out?
>
> Thanks in advance.
> Per Rasmussen.
>


Re: How to disable the dialogbox when the phone rings? by Per

Per
Wed Aug 17 04:32:36 CDT 2005

Well, that might actually be ok in my case since my program always runs "on
top of" windows. This means that the the user will not miss the dialogbox
when my program exits because it never does so.

I have a few questions about this:
1. Is this cprog used for anything else? In other words, will it have any
undesirable side effect to kill this process?
2. How do I find this process so I can kill/terminate it?
3. Won't windows just restart the process as soon as I kill it?

And, by the way, the ringing is not as important to disable. It is primarily
the dialogbox that is the problem. But I don't suppose it makes much of a
difference, from what you said.


"Alex Feinman [MVP]" <public_news@alexfeinman.com> skrev i en meddelelse
news:uIKodosoFHA.764@TK2MSFTNGP14.phx.gbl...
> Being a consumer device and primarily a phone, Pocket PC goes to some
> trouble making sure that the user *always* gets the call notification
> (both visual and audible). Other than by killing cprog.exe process, I'm
> not aware of how one can disable it. Obviously killing the process is
> discouraged
>
> --
> Alex Feinman
> ---
> Visit http://www.opennetcf.org
> "Per Rasmussen" <p@p.dk> wrote in message
> news:OVkn%23JroFHA.1148@TK2MSFTNGP12.phx.gbl...
>> Hi,
>>
>> I'm working on a PPC Phone edition with windows mobile 2003 SE and I'm
>> making an application which handles incoming calls (amongst other
>> things). Therefore I would like to disable the dialogbox that windows
>> brings up when the phone rings. Is this possibly in anyway? Also, I would
>> like to disable the ringing sound, as my program generates one itself.
>>
>> Can anybody help me out?
>>
>> Thanks in advance.
>> Per Rasmussen.
>>
>



Re: How to disable the dialogbox when the phone rings? by Alex

Alex
Wed Aug 17 12:53:36 CDT 2005

CProg.exe is the PPC dialer. That is, it's the application that handles
incoming and outgoing calls, displays the dialpad, plays the ringtone,
displays CallerID picture if applicable. Keep in mind that in many PPCPEs
pressing Call hardware button will re-launch cprog.exe

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Per Rasmussen" <p@p.dk> wrote in message
news:eyu8e6woFHA.708@TK2MSFTNGP09.phx.gbl...
> Well, that might actually be ok in my case since my program always runs
> "on top of" windows. This means that the the user will not miss the
> dialogbox when my program exits because it never does so.
>
> I have a few questions about this:
> 1. Is this cprog used for anything else? In other words, will it have any
> undesirable side effect to kill this process?
> 2. How do I find this process so I can kill/terminate it?
> 3. Won't windows just restart the process as soon as I kill it?
>
> And, by the way, the ringing is not as important to disable. It is
> primarily the dialogbox that is the problem. But I don't suppose it makes
> much of a difference, from what you said.
>
>
> "Alex Feinman [MVP]" <public_news@alexfeinman.com> skrev i en meddelelse
> news:uIKodosoFHA.764@TK2MSFTNGP14.phx.gbl...
>> Being a consumer device and primarily a phone, Pocket PC goes to some
>> trouble making sure that the user *always* gets the call notification
>> (both visual and audible). Other than by killing cprog.exe process, I'm
>> not aware of how one can disable it. Obviously killing the process is
>> discouraged
>>
>> --
>> Alex Feinman
>> ---
>> Visit http://www.opennetcf.org
>> "Per Rasmussen" <p@p.dk> wrote in message
>> news:OVkn%23JroFHA.1148@TK2MSFTNGP12.phx.gbl...
>>> Hi,
>>>
>>> I'm working on a PPC Phone edition with windows mobile 2003 SE and I'm
>>> making an application which handles incoming calls (amongst other
>>> things). Therefore I would like to disable the dialogbox that windows
>>> brings up when the phone rings. Is this possibly in anyway? Also, I
>>> would like to disable the ringing sound, as my program generates one
>>> itself.
>>>
>>> Can anybody help me out?
>>>
>>> Thanks in advance.
>>> Per Rasmussen.
>>>
>>
>
>


Re: How to disable the dialogbox when the phone rings? by Per

Per
Wed Aug 17 16:17:45 CDT 2005

Ok, thanks for the info.

One thing, though. I've found out that I can terminate a process with the
function TerminateProcess. But to do this I need a handle to the cprog
process. How do I get this? I haven't been able to find a function that can
get me a process handle from its name.


"Alex Feinman [MVP]" <public_news@alexfeinman.com> skrev i en meddelelse
news:uVOfRR1oFHA.2484@TK2MSFTNGP15.phx.gbl...
> CProg.exe is the PPC dialer. That is, it's the application that handles
> incoming and outgoing calls, displays the dialpad, plays the ringtone,
> displays CallerID picture if applicable. Keep in mind that in many PPCPEs
> pressing Call hardware button will re-launch cprog.exe
>
> --
> Alex Feinman
> ---
> Visit http://www.opennetcf.org
> "Per Rasmussen" <p@p.dk> wrote in message
> news:eyu8e6woFHA.708@TK2MSFTNGP09.phx.gbl...
>> Well, that might actually be ok in my case since my program always runs
>> "on top of" windows. This means that the the user will not miss the
>> dialogbox when my program exits because it never does so.
>>
>> I have a few questions about this:
>> 1. Is this cprog used for anything else? In other words, will it have any
>> undesirable side effect to kill this process?
>> 2. How do I find this process so I can kill/terminate it?
>> 3. Won't windows just restart the process as soon as I kill it?
>>
>> And, by the way, the ringing is not as important to disable. It is
>> primarily the dialogbox that is the problem. But I don't suppose it makes
>> much of a difference, from what you said.
>>
>>
>> "Alex Feinman [MVP]" <public_news@alexfeinman.com> skrev i en meddelelse
>> news:uIKodosoFHA.764@TK2MSFTNGP14.phx.gbl...
>>> Being a consumer device and primarily a phone, Pocket PC goes to some
>>> trouble making sure that the user *always* gets the call notification
>>> (both visual and audible). Other than by killing cprog.exe process, I'm
>>> not aware of how one can disable it. Obviously killing the process is
>>> discouraged
>>>
>>> --
>>> Alex Feinman
>>> ---
>>> Visit http://www.opennetcf.org
>>> "Per Rasmussen" <p@p.dk> wrote in message
>>> news:OVkn%23JroFHA.1148@TK2MSFTNGP12.phx.gbl...
>>>> Hi,
>>>>
>>>> I'm working on a PPC Phone edition with windows mobile 2003 SE and I'm
>>>> making an application which handles incoming calls (amongst other
>>>> things). Therefore I would like to disable the dialogbox that windows
>>>> brings up when the phone rings. Is this possibly in anyway? Also, I
>>>> would like to disable the ringing sound, as my program generates one
>>>> itself.
>>>>
>>>> Can anybody help me out?
>>>>
>>>> Thanks in advance.
>>>> Per Rasmussen.
>>>>
>>>
>>
>>
>



Re: How to disable the dialogbox when the phone rings? by Alex

Alex
Wed Aug 17 18:32:54 CDT 2005

Use toolhelp library to enumerate processes

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Per Rasmussen" <p@p.dk> wrote in message
news:%230K4fE3oFHA.1088@TK2MSFTNGP14.phx.gbl...
> Ok, thanks for the info.
>
> One thing, though. I've found out that I can terminate a process with the
> function TerminateProcess. But to do this I need a handle to the cprog
> process. How do I get this? I haven't been able to find a function that
> can get me a process handle from its name.
>
>
> "Alex Feinman [MVP]" <public_news@alexfeinman.com> skrev i en meddelelse
> news:uVOfRR1oFHA.2484@TK2MSFTNGP15.phx.gbl...
>> CProg.exe is the PPC dialer. That is, it's the application that handles
>> incoming and outgoing calls, displays the dialpad, plays the ringtone,
>> displays CallerID picture if applicable. Keep in mind that in many PPCPEs
>> pressing Call hardware button will re-launch cprog.exe
>>
>> --
>> Alex Feinman
>> ---
>> Visit http://www.opennetcf.org
>> "Per Rasmussen" <p@p.dk> wrote in message
>> news:eyu8e6woFHA.708@TK2MSFTNGP09.phx.gbl...
>>> Well, that might actually be ok in my case since my program always runs
>>> "on top of" windows. This means that the the user will not miss the
>>> dialogbox when my program exits because it never does so.
>>>
>>> I have a few questions about this:
>>> 1. Is this cprog used for anything else? In other words, will it have
>>> any undesirable side effect to kill this process?
>>> 2. How do I find this process so I can kill/terminate it?
>>> 3. Won't windows just restart the process as soon as I kill it?
>>>
>>> And, by the way, the ringing is not as important to disable. It is
>>> primarily the dialogbox that is the problem. But I don't suppose it
>>> makes much of a difference, from what you said.
>>>
>>>
>>> "Alex Feinman [MVP]" <public_news@alexfeinman.com> skrev i en meddelelse
>>> news:uIKodosoFHA.764@TK2MSFTNGP14.phx.gbl...
>>>> Being a consumer device and primarily a phone, Pocket PC goes to some
>>>> trouble making sure that the user *always* gets the call notification
>>>> (both visual and audible). Other than by killing cprog.exe process, I'm
>>>> not aware of how one can disable it. Obviously killing the process is
>>>> discouraged
>>>>
>>>> --
>>>> Alex Feinman
>>>> ---
>>>> Visit http://www.opennetcf.org
>>>> "Per Rasmussen" <p@p.dk> wrote in message
>>>> news:OVkn%23JroFHA.1148@TK2MSFTNGP12.phx.gbl...
>>>>> Hi,
>>>>>
>>>>> I'm working on a PPC Phone edition with windows mobile 2003 SE and I'm
>>>>> making an application which handles incoming calls (amongst other
>>>>> things). Therefore I would like to disable the dialogbox that windows
>>>>> brings up when the phone rings. Is this possibly in anyway? Also, I
>>>>> would like to disable the ringing sound, as my program generates one
>>>>> itself.
>>>>>
>>>>> Can anybody help me out?
>>>>>
>>>>> Thanks in advance.
>>>>> Per Rasmussen.
>>>>>
>>>>
>>>
>>>
>>
>
>