FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Controlling the SIP (Soft Input Panel)
Posts: 42
Joined: Wed Oct 26, 2005 01:20 PM
Controlling the SIP (Soft Input Panel)
Posted: Wed Nov 02, 2005 04: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...
#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...
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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Controlling the SIP (Soft Input Panel)
Posted: Wed Nov 02, 2005 04: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
Posts: 42
Joined: Wed Oct 26, 2005 01:20 PM
Controlling the SIP (Soft Input Panel)
Posted: Thu Nov 03, 2005 01: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Controlling the SIP (Soft Input Panel)
Posted: Thu Nov 03, 2005 03: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

Continue the discussion