All Forums
 Microsoft Windows CE
 General CE
 SoftKeyboard control
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

3935

16 Posts

Posted - 14 Mar 2002 :  15:08:51  Show Profile  Email Poster
Is it possible to activate/deactivate the softkeyboard by software?

ctacke

877 Posts

Posted - 14 Mar 2002 :  17:39:30  Show Profile  Email Poster
The soft keyboard is controlled by \Windows\softkbd.exe. Running softkbd.exe toggles the keyboard visible state, so you could simply call CreateProcess like this:


CreateProcess(_T("\\Windows\\softkbd.exe""),
NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL);


A call to FindWindow() can be used to determine if it is currently showing.


-----------------
Chris Tacke, eMVP
Applied Data Support
Go to Top of Page

jbaik

22 Posts

Posted - 20 Mar 2002 :  14:25:51  Show Profile  Email Poster
Here is toggle routine for Software keyboard.

void SoftKbd()
{
SIPINFO si;
BOOL bRet;

memset(&si,0,sizeof(si));
si.cbSize = sizeof(si);

bRet = SipGetInfo(&si);

if(!bRet)
{
RETAILMSG(1,(L" You can't use SIP \r\n"));
return ;
}

if( si.fdwFlags & SIPF_ON )
si.fdwFlags &= (~SIPF_ON);
else
si.fdwFlags |= SIPF_ON;

bRet = SipSetInfo(&si);

if(!bRet)
{
RETAILMSG(1,(L" You can't use SIP \r\n"));
return ;
}
}
Go to Top of Page

dbrisbois

27 Posts

Posted - 08 Sep 2003 :  18:18:05  Show Profile  Email Poster
Has anyone had trouble using the SIP API functions with the BitsyX? I am using kernel 4.10.19. I am getting unresolved external symbol errors on all SIP API functions.
Go to Top of Page

HBPayne

45 Posts

Posted - 08 Sep 2003 :  19:15:11  Show Profile  Email Poster
Another alternative:

Put this in your dialog cpp (drop the define if CE only):

#if defined(_WIN32_WCE)
#include <sipapi.h>
#endif

Then to toggle SIP:

SipShowIM(SIPF_ON);

or

SipShowIM(SIPF_OFF);

I think I've tested on BitsyX.

Edited by - HBPayne on 08 Sep 2003 20:14:11
Go to Top of Page

dbrisbois

27 Posts

Posted - 29 Jun 2004 :  16:09:35  Show Profile  Email Poster
Is it possible to set the SIP to use large keys by default?
Go to Top of Page

mhuman1

36 Posts

Posted - 15 Jul 2005 :  15:57:14  Show Profile  Email Poster
I am using a GCX and I also want the keyboard to be large by default. I can't find a setup for it in the registry.

Any ideas?
Keith Stallings
Go to Top of Page

ccoats

18 Posts

Posted - 20 Jul 2005 :  10:10:52  Show Profile  Email Poster
How do you activate the software keyboard via javascript?
Go to Top of Page

ctacke

877 Posts

Posted - 20 Jul 2005 :  10:34:49  Show Profile  Email Poster
Keith, You want this:

[HKEY_CURRENT_USER\ControlPanel\Sip]
   "DefaultIm"="{A523DFC7-1A7E-4af6-991A-510E75847828}" ; largekbd
Go to Top of Page

mhuman1

36 Posts

Posted - 10 Aug 2005 :  18:36:56  Show Profile  Email Poster
thanks chris,
I'll give it a try.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000