I use chinese version, the default input panel is to input chinese.
Therefore, not english and number key. When I run my program, I need to
change it back to english key manually. How can I control it by program?

Re: How to control the SIP input panel? by Yaroslav

Yaroslav
Wed Jul 19 11:45:44 CDT 2006

Is the Chinese keyboard implemented as a separate SIP? If so you can use
SipSetCurrentIM to change the current IM. See an example at
http://www.pocketpcdn.com/articles/setcurrentim.html

--
Yaroslav Goncharov
Spb Software House, http://spbsoftwarehouse.com
Pocket PC Developer Network, http://pocketpcdn.com


"Maverick" <maverickluk1@yahoo.com.hk> wrote in message
news:%23h$jhSyqGHA.4996@TK2MSFTNGP04.phx.gbl...
>I use chinese version, the default input panel is to input chinese.
> Therefore, not english and number key. When I run my program, I need to
> change it back to english key manually. How can I control it by program?
>
>



Re: How to control the SIP input panel? by Maverick

Maverick
Wed Jul 19 20:55:44 CDT 2006

Thx for your reply, but I am using C# to write the program, do you have any
sample of using C#? Also, is the command sipsetcurrentim that I should use
it?
"Yaroslav Goncharov" <yaroslav@softspb.com> ¦b¶l¥ó
news:en%23UML1qGHA.3908@TK2MSFTNGP05.phx.gbl ¤¤¼¶¼g...
> Is the Chinese keyboard implemented as a separate SIP? If so you can use
> SipSetCurrentIM to change the current IM. See an example at
> http://www.pocketpcdn.com/articles/setcurrentim.html
>
> --
> Yaroslav Goncharov
> Spb Software House, http://spbsoftwarehouse.com
> Pocket PC Developer Network, http://pocketpcdn.com
>
>
> "Maverick" <maverickluk1@yahoo.com.hk> wrote in message
> news:%23h$jhSyqGHA.4996@TK2MSFTNGP04.phx.gbl...
> >I use chinese version, the default input panel is to input chinese.
> > Therefore, not english and number key. When I run my program, I need to
> > change it back to english key manually. How can I control it by program?
> >
> >
>
>



Re: How to control the SIP input panel? by Yaroslav

Yaroslav
Thu Jul 20 02:47:54 CDT 2006

You can use P/Invoke to call SipSetCurrentIM from your C# code.

Take a look at the registered IM methods in your system to find out the
right GUID to use. Pocket PC uses registry to detect that some COM is an
input method. There should be a special key 'IsSIPInputMethod' with value
'1' in class section. For details about that take a look at
http://www.pocketpcdn.com/articles/im.html (Step 4).

--
Yaroslav Goncharov
Spb Software House, http://spbsoftwarehouse.com
Pocket PC Developer Network, http://pocketpcdn.com


"Maverick" <maverickluk1@yahoo.com.hk> wrote in message
news:%23pOXr85qGHA.5012@TK2MSFTNGP03.phx.gbl...
> Thx for your reply, but I am using C# to write the program, do you have
> any
> sample of using C#? Also, is the command sipsetcurrentim that I should use
> it?
> "Yaroslav Goncharov" <yaroslav@softspb.com> ¦b¶l¥ó
> news:en%23UML1qGHA.3908@TK2MSFTNGP05.phx.gbl ¤¤¼¶¼g...
>> Is the Chinese keyboard implemented as a separate SIP? If so you can use
>> SipSetCurrentIM to change the current IM. See an example at
>> http://www.pocketpcdn.com/articles/setcurrentim.html
>>
>> --
>> Yaroslav Goncharov
>> Spb Software House, http://spbsoftwarehouse.com
>> Pocket PC Developer Network, http://pocketpcdn.com
>>
>>
>> "Maverick" <maverickluk1@yahoo.com.hk> wrote in message
>> news:%23h$jhSyqGHA.4996@TK2MSFTNGP04.phx.gbl...
>> >I use chinese version, the default input panel is to input chinese.
>> > Therefore, not english and number key. When I run my program, I need to
>> > change it back to english key manually. How can I control it by
>> > program?
>> >
>> >
>>
>>
>
>