Controlling the SIP (Soft Input Panel)

Controlling the SIP (Soft Input Panel)

Postby Bill Simmeth » Wed Nov 02, 2005 4:16 pm

I am trying to show/hide the SIP (Soft Input Panel) based on which control has focus at any given time. I found the function SIPShowIM referenced here... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceshellui5/html/wce50lrfsipshowim.asp
I am defining the function as a DLL FUNCTION using this line...
Code: Select all  Expand view
#define SIPF_OFF        0x00000000
#define SIPF_ON         0x00000001


DLL FUNCTION SIPShowIM( nState AS DWORD ) AS BOOL LIB "COREDLL.DLL"


I call the function with this simple line...
Code: Select all  Expand view
SIPShowIM( SIPF_ON )

However, I only get a NULL value in return and nothing happens to the SIP. Has anyone successfully found a way to manage the SIP?

Also, this might be a nice optional METHOD for GETs in FWPPC...
Bill Simmeth
Merchant Software Corp
Marshall, Virginia USA
Bill Simmeth
 
Posts: 42
Joined: Wed Oct 26, 2005 1:20 pm
Location: Marshall, Virginia, USA

Postby Antonio Linares » Wed Nov 02, 2005 4:51 pm

Bill,

That function is already implemented in FWPPC as these:

SHOWKEYBOARD() and HIDEKEYBOARD()

Your code is ok, but the parameters supply is not available yet (so it arrives as zero and hides it).

Please try them and let us know your results. Thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Bill Simmeth » Thu Nov 03, 2005 1:42 pm

Antonio, thanks! I missed the announcement about these functions. Works great!

You also wrote...
Antonio Linares wrote:Your code is ok, but the parameters supply is not available yet (so it arrives as zero and hides it).

Does this mean that dynamic DLL function calls are not fully working? This might explain a different issue I am having.

Thanks again,
Bill
Bill Simmeth
Merchant Software Corp
Marshall, Virginia USA
Bill Simmeth
 
Posts: 42
Joined: Wed Oct 26, 2005 1:20 pm
Location: Marshall, Virginia, USA

Postby Antonio Linares » Thu Nov 03, 2005 3:35 pm

Bill Simmeth wrote:Antonio, thanks! I missed the announcement about these functions. Works great!


Cool :)

Bill Simmeth wrote: Does this mean that dynamic DLL function calls are not fully working? This might explain a different issue I am having.


Yes, they are not ready yet. Please use to review whatsnew.txt file included with FWPPC. We will announce it as soon as it is fully available.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 3 guests