Controlling the SIP (Soft Input Panel)

Post Reply
Bill Simmeth
Posts: 42
Joined: Wed Oct 26, 2005 1:20 pm
Location: Marshall, Virginia, USA
Contact:

Controlling the SIP (Soft Input Panel)

Post 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...
Bill Simmeth
Merchant Software Corp
Marshall, Virginia USA
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Bill Simmeth
Posts: 42
Joined: Wed Oct 26, 2005 1:20 pm
Location: Marshall, Virginia, USA
Contact:

Post 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
Bill Simmeth
Merchant Software Corp
Marshall, Virginia USA
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply