Page 1 of 1

Controlling the SIP (Soft Input Panel)

Posted: Wed Nov 02, 2005 4:16 pm
by Bill Simmeth
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/defau ... showim.asp
I am defining the function as a DLL FUNCTION using this line...

Code: Select all

#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

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...

Posted: Wed Nov 02, 2005 4:51 pm
by Antonio Linares
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

Posted: Thu Nov 03, 2005 1:42 pm
by Bill Simmeth
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

Posted: Thu Nov 03, 2005 3:35 pm
by Antonio Linares
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.