Re: smart dialing
- From: "Peter Vince" <a@yahoo>
- Date: Tue, 5 Dec 2006 19:15:17 +0400
yeah,
also I read somewhere that in WM5.0 microsoft closed hooking feature.
So there must be other way to do it, as some applications does.
"Lisa Pearlson" <no@xxxxxxxx> wrote in message
news:eU%23M2LkFHHA.5004@xxxxxxxxxxxxxxxxxxxxxxx
Why call set and get seperately? SetwindowLong will return previous value:
g_fnProcPhone = (WNDPROC) ::SetWindowLong(g_hWndPhone, GWL_WNDPROC,
(LONG)PhoneWndProc);
Are you sure g_gnProcPhone != PhoneWndProc ?
"Vince" <vince@xxxxxxxxx> wrote in message
news:eoNpdP5EHHA.2268@xxxxxxxxxxxxxxxxxxxxxxx
I try'd the code with hooking WndProc but it seems not working for winCE
5.0
I find the phone window successfully but i failed changing WndProc
the code bellow
g_fnProcPhone = (WNDPROC)::GetWindowLong(g_hWndPhone , GWL_WNDPROC);
int iRes = ::SetWindowLong(g_hWndPhone, GWL_WNDPROC, (LONG)PhoneWndProc);
// this return ok, but the next call of
fnProcPhone = (WNDPROC)::GetWindowLong(g_hWndPhone , GWL_WNDPROC);
// return the fnProcPhone == g_fnProcPhone value.
call of GetLastError return 120-This function is not supported on this
system.
Is there other way of hook?
"Ravikiran Deshpande" <ravikiran_deshpande@xxxxxxxxxxxxxxxx> wrote in
message news:OGD3$M4EHHA.420@xxxxxxxxxxxxxxxxxxxxxxx
You can always hook the wndproc of the dialer window. In that case you
will
get all the notification like which key is pressed. Or you can write
your
own dialer which will replace the default 1.
"Peter" <s@xxx> wrote in message
news:OhaSZGjEHHA.1012@xxxxxxxxxxxxxxxxxxxxxxx
Hi guys,contacs
I have such a problem. I am developing an application that will do
smart
dial, i.e. when phone keypad is open and key pressed it will desplay
list that match by name, number etc to the key.
So I am wondering how can I capture/connect to phone key pad.
Thanks in advance,
Peter S
.
- References:
- Re: smart dialing
- From: Ravikiran Deshpande
- Re: smart dialing
- From: Vince
- Re: smart dialing
- From: Lisa Pearlson
- Re: smart dialing
- Prev by Date: Re: Running a today screen plugin without soft reset
- Next by Date: how to get time zone list and daylight saving
- Previous by thread: Re: smart dialing
- Next by thread: SHHandleWMSettingChange
- Index(es):
Relevant Pages
|