Hi, i'm writing an application that will dial a number, using the
Microsoft.WindowsMobile.Telephony.Phone class. It dials the number fine but
how can I stop it bringing up the default dialler when the call is being
made?

Thanks

Re: Dialling from an application by Fabien

Fabien
Wed Oct 10 07:24:32 PDT 2007

Hi,

You can try to hide the Phone Dialog Window, find its window handle
and send it a SW_HIDE message:
IntPtr h = FindWindow("Dialog", "Phone");
ShowWindow(h, SW_HIDE);

Check out this, to find the window handle:
http://fabdecret.blogspot.com/2007/05/find-window-handle.html

Fabien Decret (Device Application Development MVP)
Windows Embedded Consultant

ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/ | http://fabdecret.blogspot.com/


n Oct 10, 3:50 pm, "Andrew Rees" <a...@dfdf.com> wrote:
> Hi, i'm writing an application that will dial a number, using the
> Microsoft.WindowsMobile.Telephony.Phone class. It dials the number fine but
> how can I stop it bringing up the default dialler when the call is being
> made?
>
> Thanks