New! Change SIP and toggle SIP from command line! - Windows Mobile Development and Hacking General

see this thread
This app will allow you to toggle the sip by loading it from the commandline - ie SipSwitch.exe.
However, specifiying a command line will cause the PPC to switch to that SIP AND toggle the SIP, so if no keyboard is shown:
"SipSwitch.exe Keyboard" will switch to Keyboard and display it. Use the same name as the SIP in the SIP menu.s
Best to try it and see!
My girlfriend's gonna kill me - 4.18am and work tomorrow
Links to the app.
Please leave constructive feedback.
V

Hi vijay555,
good job! Works great
some notes from testing:
- I couldn't switch to SIPs with " " (space) as first character, so I had to rename them (HKEY_Classes_Root/CLSID/... look for IsSIPInputMethod - thanks for advice, BGK )
- Blimkeys SIP suddenly stopped working and "basic keyboard" popped out instead.. SR solved it
- nice tool for testing (and creating shortcuts afterwards) is nOpen - http://www.nakka.com/soft/ptools/index_eng.html (and then with mortbuttons you can switch between keyboards using one hw button)
ideas for next version (in case you survived work&girlfriend ) :
- possibility to specify (.ini file) several input methods and then command line options like --next, --previous or --switch
- possibility to switch method without popping SIP pannel out

krysha - thanks for your feedback.
I wasn't sure about the SIP popping on or off. I couldn't think of much use for changing the SIP but NOT popping it up - you would then need 2 shortcuts, one to change it, one to bring it up, which for one handed use seemed wasteful. However, it's certainly easy to make it so it doesn't bring up the SIP.
I suppose at some point I'll learn how to split command lines. I also need to learn how to trim and do left$, right$ and mid$ and split() in C++. Any ideas?!
The idea about the .ini is intersting. I'll think about how to implement it, but it might take some time! If I forget, drop me a line at some point.
Man, coding so late was hard work. I can barely think straight now!
V
PS I use gsfidner for shortcuts, but thanks for the tip.

Any news on this?
Hi vijay555,
I saw you're coding a lot (VJSMS, VJDialer, ToggleStart and many other nice things - thanks for all your hard work!).
But: Are there any news on this little thingy, too?
Would be cool, if it could be used to switch between two (or more) input methods by calling the same command (by using an .ini-file), because then I could switch between those SIPs by pressing one single button.
Greetings and TIA,
BGK

BGK - I will work on it, I haven't forgotten, but I am still learning my C++ and so have to figure out how to read an ini file and parse it... I'm trying to finish off a more generic version of ToggleToday, and then I'll try and look at this again... Don't know if many/any people use this, but it would be nice to toggle through the SIPs.
V

Hi again,
vijay555 said:
I'm trying to finish off a more generic version of ToggleToday, and then I'll try and look at this again...
Click to expand...
Click to collapse
Great! Thanx a lot! If you need any kind of help - please just tell me.
Greetings,
BGK

vijay555 said:
..have to figure out how to read an ini file and parse it...
Click to expand...
Click to collapse
...or you can provide several input methods on command line and switch between them - that should be simplier
for example "SipSwitch.exe Keyboard FullScreen" would switch between those 2 methods each time you run it..

krysha - that's one way I'm thinking of doing it, but you guys have to think, do you want the selected SIP to be displayed (ie keyboard pops up) or toggled (if on, switch off etc) when you change sip by command line. Sometimes it's useful to toggle the SIP, but the command line will want to switch to the next sip in the command line string.
I'm actually thinking of another version, based on this idea of mine: what it will do is you assign a hardware key to the program, and holding down that hardware key will show you the name of the current sip (eg "keyboard"). Letting go will show that SIP.
However, if you don't let go, but hold down the hardware key, it will flash through each SIP on the system, so it will show a little window in the corner: "Keyboard", "Calligrapher" etc, each name being shown for say 3 seconds and then changing to the next SIP name. That way, you can hold down the hardware key until the SIP you want is shown and then let go, and that SIP will be selected and activated.
What do you think?
BTW - can anyone tell me how to split strings in C++.
Eg for the command line seperated by commas, in vb I would do something like
Code:
Commandline="Calligrapher,Keyboard,BlimKeys"
CommandLineArray=Split(Commandline,",")
How do I do that in C++? I haven't read that far in my programming lessons yet I presume I have to write my own routine or use another library right?
V

Hi ViJay,
vijay555 said:
I haven't read that far in my programming lessons yet I presume I have to write my own routine or use another library right?
Click to expand...
Click to collapse
I guess - following the software output you had the last weeks/months - there's no more neet to explain that, right? :wink:
You did nice work on all of the software you gave to this community, so I'm asking you just very polite, if you did a little further development on sipswitch, too? :roll:
It would be really cool beeing able to switch between 2 or 3 predefined input methods (from .ini or command line).
If you need help in any way, maybe I could help you (nor very advanced in C++, but... call me Mr. Google... :lol: ). :roll:
Greetings,
BGK

BGK: I will be working on this, but just not right now. I'm working on something quite big right now, but as soon as I can, I wil get around to this, I haven't forgotten, and I'm often thinking of how best to implement it. Unfortunately right now the "bigger" projects have to take priority
It will hopefully have a bit more of a configuration interface to support its use. Thanks for being patient!
V

vijay555 said:
Unfortunately right now the "bigger" projects have to take priority
Click to expand...
Click to collapse
No problem. I hope, your effort will be honored right this time... :wink:
vijay555 said:
It will hopefully have a bit more of a configuration interface to support its use. Thanks for being patient!
Click to expand...
Click to collapse
Could you do me a favour and tell me how you will change the sip intself (changing registry keys, calling which functions,...)?
Would be interested in this...
Greetings,
BGK

SipSwitch currently starts and compiles a list of the installed SIPs.
If it find the one that matches the command line, it enables and toggles that SIP.
The future version will use a command line of defined SIPs or probably a config file.
Steps:
Compile the array of defined sips from the config file/command line.
Get the array of installed sips.
Get the current sip.
Match that sip to the config array.
If there's a match, get the next SIP specified in the config array.
If next SIP matches installed SIP, switch to next SIP.
No registry involved in SIPs I think!
The work involved is in parsing the config file, preparing the array of sips and looping through the arrays. Nothing too complicated, just needs some attention. I literally don't have a spare minute right now though. I'm on a deadline to finish some code tonight Don't like coding under pressure, just for fun!
V

vijay555 said:
I literally don't have a spare minute right now though. I'm on a deadline to finish some code tonight Don't like coding under pressure, just for fun!
Click to expand...
Click to collapse
Okay, didn't answer my question, but don't hurry. Just do your job and I will come back on that, if you're ready.
Don't like coding under pressure, too. :wink:
Greetings,
BGK

Good Application
Dear vijay555
i have tried this app and working fine, but i have arabic keyboard name and i can not toggle to it using your app, is there anyway to know the english sip name of my arabic keyboard.

gwassef: have a look at the second post from the top, discussing the registry. I've not really thought about it before, but have a look through the registry, and maybe even change the name of the SIP.
Have to run, apologies!
V

Dear vijay555
thanks for reply, i checked the second post from where i got a link to the wiki registry settings and got the CLSID of my SIP and change it to engish, then i used your sipswitch.exe program to change it each time i soft reset my device.
thanks for you all

Hey Vj, I ran a test on your app.
I made a Shortcut using Total Commander with the following line
"\Program Files\SipSwitch\sipswitch.exe" Keyboard
It gives me a window saying "SIP not found". Any clue?

I think it may be case sensitive - did you copy it exactly? Check the CLSID in your registry to make sure it's exactly as written.
Frankly, it's a very basic app. It needs a complete re-write!
V

Yes, they are exactly the same. Attached (I've cut the bottom half from other screen shot to avoid uploading two pics). Note, the " symbol is on the right way, Total Commander somehow omit the starting " symbol, but the short cut is definately functioning. I'm just wondering if there are any other method of putting the " marks. But I did use the same method for OMAPCLOCK, it works.
BTW, for your info, my "Keyboard" is in
\HKCR\CLSID\{42429667-...}\Default

it will be great if u develop an app which can allow multiple SIP's on the system bar(Ref. mCalc adds an icon next to SIP)
p.s: http://www.xcomsoft.com/mcalc.html

Related

Wizard MSN Messenger - Soft Keyboard pops up all the time...

Hi All
I've got an O2 XDA Mini S which I've set up using the corporate option, so I no longer have the O2 Software running.
Whenever I start a new conversation in MSN messenger, the soft keyboard pops up, even if the real keyboard is exposed.
This is really annoying as I have to minimise the soft keyboard on every new conversation.
Can anyone help?
Driving me mad! :roll: LOL
D'Oh!
Just tried to make a word document and it's doing the same thing!!!
GRRRRR!
I have tried setting the input options from keyboard to phonepad and it's still doing it.
just start typing (DON'T click it away!). for me after that it remembers that i don't want to use the onscreen keyboard.
OK, so I just rebooted the machine and it's not popping up now.
However, the MSN chat window is all squashed up at the top of the screen... As if there was a softkeyboard there.
I think I'm going to have to get used to the occasional reboot on this!
Thanks for your quick response!
Clicking on the SIP button in the bottom right should disable the soft keyboard, and according to some, it should retain that setting. I don't have a Wiz so I can't confirm, but one way or the other, it might help you to install a dummy SIP. PHM Tools installs one.
PHM Ext. Keyboard SIP PowerToy
The PHM Ext. Keyboard is an empty input panel you can use when you have an external keyboard connected (such as thumb, collapsible, foldable, wireless, ... keyboard) and do not want an input panel to take valuable screen estate.
Click to expand...
Click to collapse
here
V
yah this annoys me as well, when browsing in landscape and BOOM this keyboard that covers have the screen pops up! you can't even see what yoru typing...
anyway i remember reading a fix for this somewher, but it was before i got the device. anyone know where its at?
Hey, I changed mine from keyboard to the transcriber, it doesn't seem to popup now and it also give a full screen while on msn rather than only half screen where the keyboard should be.
Just tried this... Thanks!
It gives more of the screen available to MSN, but still not full screen for me.
If I click on the transcriber icon at the bottom of the screen, then click on it again to minimise it, I then get full screen.
Weird problems!
want to try the PHM Ext. Keyboard SIP PowerToy but theire website is down since some time. Could anybody please upload the files in this forum or somewhere else? (eg RapidShare.com,...)
THX!!!
CIAO!
VOODOOS!L
PHM tools
I think they're all down for updates.
Here's a zip of all of them.
V
so what exactly does that do? i don't want to install anything that can be solved by a reg edit. (dont have a mem card yet)
Fone - one of the cabs installs a dummy SIP called external keyboard or something. It's for people that use external keyboards, basically don't one the built in ones popping up all the time.
It's small, I'd install it if you have a need. If you really don't need the built in keyboards and want a registry only solution, you can disable the SIPs through the registry. Not recommended though.
V
Alternatively, as it's just 1 install:
http://www.freewareppc.com/utilities/nullkeyboard.shtml
( could probably hack apart the PHM tools CAB just as well )
thanks a lot, just what i needed!!
CIAO!
VOODOOS!L
Excellent! Works a treat!! Thank You.
Ahh, null keyboard is by beemer. He's a great coder, check out his today plugins for wondrous pleasures.
These null keyboard type things do pretty much the same thing, ie nothing. However, if you're really geeky, Brighthand forums has a large review of a number of them. Use whatever works though.
V
its ok, i'll go ahean and install it. i just thought somehow someone could make a couple regedits that would tell the device if in landscape dont show onscreen keyboard. but i guess its more complex than i thought.
short of intercepting it, I don't think so
Technically, software needs to check they keyboard status, and then suppress the SIP from popping up when activating text entry elements (stuff's in MSDN somewhere). Thing is - most people are either too lazy to do so, or aren't aware of any need to do so, or just don't know they -can- do so
There is a registry entry (at least in mine) HasExtKeyboard or something to that effect. I set it from 0 to 1, but it does nothing. Do a registry search for it. Perhaps someone can make a SIP that will normally not pop up anything, but with a keystroke or a tap on the icon will pop it up when you need it.
I'd just like a slim SIP that would have keys like Cut/Copy/Paste/Undo, etc.
There is a registry entry (at least in mine) HasExtKeyboard or something to that effect. I set it from 0 to 1, but it does nothing. Do a registry search for it. Perhaps someone can make a SIP that will normally not pop up anything, but with a keystroke or a tap on the icon will pop it up when you need it.
I'd just like a slim SIP that would have keys like Cut/Copy/Paste/Undo, etc.

How to make buttons in place of menus

Hi,
how to add a button like the 'Up' button in explorer? I think that they are called soft-key buttons. so how to add them? and are they supported in WM2003?
I also see Resco explorer implements them.
Thanks,
Mohammad
Ok, maybe I havent clarified things so I post a picture of what I want. hope you will help me
You can't.
The soft keys are a feature of WM5. They are actually regular menus. If you create an app with just two menus it will display like that on WM5 device and in the normal fashion on WM2003.
The only thing you can try is covering the menu bar and simulating the soft keys and the SIP button. Read about SHFullScreen on MSDN.
levenum said:
You can't.
The soft keys are a feature of WM5. They are actually regular menus. If you create an app with just two menus it will display like that on WM5 device and in the normal fashion on WM2003.
The only thing you can try is covering the menu bar and simulating the soft keys and the SIP button. Read about SHFullScreen on MSDN.
Click to expand...
Click to collapse
This is not quite true, you can have the same behaviour in WM2003SE, the only difference is that you have to do everything by your own.
In both OS, the so called menubar is in fact a toolbar. So in WM2003SE, if you want to have the same effects as in WM2005, you have to subclass the toolbar and use custom drawing. You also need to handle the SIP window, if you want to place it in the center. Of course, this is not straight forward...
Cheers,
.Fred
ok. now I know its possible. but can anybody provide some relevant links?? Thanks
mohgdeisat said:
ok. now I know its possible. but can anybody provide some relevant links?? Thanks
Click to expand...
Click to collapse
Sorry I don't think you will find a lot on this matter on the net, I already made a dig, but not much found.
Anyway,
1) try http://www.pocketpcdn.com, especially the forums and look for toolbar, commandbar and shmenubar
this article will give you some hints: http://www.pocketpcdn.com/articles/right_toolbar.html
2) read msdn about toolbar subclassing and NM_CUSTOMDRAW handling
3) read msdn about shmenubar api
3) use Spy++ or related application to hook the menubar in wince and see what you get
4) make some tests and you will have something like that (full image in zip):
Cheers,
.Fred
Hi,
I have searched too much but found almost nothing about this issue. Please anybody has any article, link or sample project?? I need it very much.
Mohammad
mohgdeisat: what do you really need to know?
Start by making a project, and cosmetically program a custom menu bar/button bar to emulate the WM5 menu bar. It's not impossible, it's actually quite easy, but it is tedious.
Once you can do that, come back and show us.
Next step will be to patch it into your target app.
Realistically this is quite a tough task, at least if you want to generically patch soft keys into the whole OS, because softkeys (and menu bars) and prepared on a per app basis - the menu bar on the Today screen in Wm2003 is different to WM5 for example. You would have to parse in the WM2003 menu into your emulated WM5 softkeys, per app, and even then it would still not match WM5, because the WM5 menus have been reordered from wm2003 apps to match the Microsoft design guidelines for softkeys.
But start by emulating the softkeys in a standalone app, before thinking about the next task.
V
Yes VJ, I really need to make my first step to learn this stuff, and I will do it soon with god's willing.
I have First exams this week so I might start it next week and I will post what I get here to have your feedback.
Thanks all and good luck

HOWTO: programmatically pop up soft keyboard

Hi,
I want to programmatically make the soft keyboard show up on my device.
I am using eVC++ 4.0. Any Ideas?
Mohammad.
mohgdeisat said:
Hi,
I want to programmatically make the soft keyboard show up on my device.
I am using eVC++ 4.0. Any Ideas?
Mohammad.
Click to expand...
Click to collapse
Code:
SIPINFO si = {0};
si.cbSize = [COLOR=Blue]sizeof[/COLOR](SIPINFO);
SHSipInfo(SPI_GETSIPINFO, 0, &si, 0);
si.fdwFlags = SIPF_ON|SIPF_DOCKED;
SHSipInfo(SPI_SETSIPINFO, 0, &si, 0);
Code:
SHSipPreference(m_hWnd, SIP_UP); [COLOR=Green]// for a specific window (to use in focus events)[/COLOR]
Cheers,
.Fred
Thanks Fred, this really works perfectly...
I am happpy now
Mohammad
dotfred said:
Code:
SIPINFO si = {0};
si.cbSize = [COLOR=Blue]sizeof[/COLOR](SIPINFO);
SHSipInfo(SPI_GETSIPINFO, 0, &si, 0);
si.fdwFlags = SIPF_ON|SIPF_DOCKED;
SHSipInfo(SPI_SETSIPINFO, 0, &si, 0);
Code:
SHSipPreference(m_hWnd, SIP_UP); [COLOR=Green]// for a specific window (to use in focus events)[/COLOR]
Cheers,
.Fred
Click to expand...
Click to collapse
hopefully this question is astute enough to keep from being flamed, but what the heck, nothing ventured, nothing gained....
so, if i took this line of code:
SHSipPreference(m_hWnd, SIP_UP); // for a specific window (to use in focus events)
and modified it something like this:
SHSipPreference(m_hWnd, SIP_DOWN); // for a specific window (to use in focus events)
or some such, could i then set it to keep the soft keyboard from popping up (either programatically or globally) without selecting it from the input menu?
obviously i know little of programming, but you should be able to catch the logic behind it. as to why, people are all but begging for this functionality for their Wizards....
blazoner said:
hopefully this question is astute enough to keep from being flamed, but what the heck, nothing ventured, nothing gained....
so, if i took this line of code:
SHSipPreference(m_hWnd, SIP_UP); // for a specific window (to use in focus events)
and modified it something like this:
SHSipPreference(m_hWnd, SIP_DOWN); // for a specific window (to use in focus events)
or some such, could i then set it to keep the soft keyboard from popping up (either programatically or globally) without selecting it from the input menu?
obviously i know little of programming, but you should be able to catch the logic behind it. as to why, people are all but begging for this functionality for their Wizards....
Click to expand...
Click to collapse
The SHSipPreference(m_hWnd, SIP_DOWN); is normally used when you catch the WM_SETFOCUS/WM_KILLFOCUS of a specific window. This is the normal behaviour for EDIT controls on pocket pcs that do not have an integrated keyboard. I can imagine it is a burden on the Wizard...
If you want to control the behaviour of the virtual keyboard for all controls of the active window, I should consider to use the first code.
You can also hide the sip button appearing on the soft keys bar, when you use the SHCreateMenuBar api.
You can also show a window with the sip down with the SHInitDialog api.
ps.: if you want to control the SIP of the whole system, you have to subclass the window with the classname MS_SIPBUTTON.
Cheers,
.Fred
.Fred
Now I leave myself open for flaming, the way I read this:
On a wizard that has a keyboard that is open and i am using, there seem to be many application that do not relize this and thus pop up the soft keyboard.
Is there a application that will stop this on a global bases ? (as in trick the applications into thinking my soft keyboard is my hardware keyboard or on call just closing the soft keyboard)
If so were can I get it from as I cant program my VCR let alone my 8track.
Well maybe reading is not my strong point but I feel that there might be a need for a .fred kbd (on / Off) tool.
Myself I have a BA with a hardware Keyboard that I NEVER use so I am not sure how apps react.
PS no offence intended
MDAIIIUser said:
.Fred
Now I leave myself open for flaming, the way I read this:
On a wizard that has a keyboard that is open and i am using, there seem to be many application that do not relize this and thus pop up the soft keyboard.
Is there a application that will stop this on a global bases ? (as in trick the applications into thinking my soft keyboard is my hardware keyboard or on call just closing the soft keyboard)
If so were can I get it from as I cant program my VCR let alone my 8track.
Well maybe reading is not my strong point but I feel that there might be a need for a .fred kbd (on / Off) tool.
Myself I have a BA with a hardware Keyboard that I NEVER use so I am not sure how apps react.
PS no offence intended
Click to expand...
Click to collapse
I think different solutions are possible for this:
1) I know somebody developed a NULL virtual keyboard (no layout), so whatever happens, the keyboard will never show up on the screen.
2) The SIP is a driver, so if it is unloaded, the soft keybard will never show up on the screen even when clicking on the keyboard button on the softkey bar, BUT I don't know what will happen with the hard keyboard, will the keys still be handled? It should but... (I can't try, I don't have a hard keyboard)
3) As you suggested a background program that would handle the on/off SIP behaviour on demand.
For me, the easiest would be the second option, because you just unload a driver, so no harm is done and no extra hack is made.
Cheers,
.Fred
3)
Well 2 sounds fine but can "joe blow" do that.
Myself I like to 1.
I see a cab that installs GhostKbd, ....
a null keyboard that can be chossen as the "input methord" over keyboard icon bottom right, options.
This gives the user the chance of having it when he wants nothing or not have it when he wants something (wiered looking at it that way).
This also wont conflict with what ever the Hardkeyboard does (well I think any way).
Can you talk to "somebody" and get it ?
Maybe we could have soem input from those that have the problem.
EDIT and 3 but could be some work
MDAIIIUser said:
Well 2 sounds fine but can "joe blow" do that.
Myself I like to 1.
I see a cab that installs GhostKbd, ....
a null keyboard that can be chossen as the "input methord" over keyboard icon bottom right, options.
This gives the user the chance of having it when he wants nothing or not have it when he wants something (wiered looking at it that way).
This also wont conflict with what ever the Hardkeyboard does (well I think any way).
Can you talk to "somebody" and get it ?
Maybe we could have soem input from those that have the problem.
EDIT and 3 but could be some work
Click to expand...
Click to collapse
Here is a free app, that does that!
http://personales.ya.com/beemer/nullkeyboard.htm
Cheers,
.Fred
@ blazoner
So does the above solve your problem and if so should we post it in the wizard wiki ?
i'm not sure. i had a cab file not uninstall completely, and it was interfering with my SIP options. i'll give it another go after a hard reset/rom upgrade. should know by tomorrow.
looks like there's a solution out there after all....
i found this in this thread http://forum.xda-developers.com/showthread.php?p=918794#post918794
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#3 07-04-2006, 04:50 PM
mistrix Join Date: Nov 2005
Posts: 10
Hardware Keyboard only in Landscape
--------------------------------------------------------------------------------
On the Universal the combination of PQZ (to assign different SIPs to landscape and portrait, should work on other devices too) and PHMs "NoDoSIP" (registers a SIP that does nothing) works perfectly. Disable all SIPs not needed at all by setting the Reg Value (search for the SIP by name in the registry) Default under IsSIPInputMethod for that method to 0. You can rename your remaining SIPs there as well.
__________________
MDAPro, HBH662
Click to expand...
Click to collapse
so far it seems to work on my 8125
i've still gotta go through and delete SIP methods from my phone (just cause i'm a perfectionist....)
if it works all through the weekend, i'll post it to the wiki....
still working great! posted to the Wiki!
Can you add the wiki link just in case somebody uses search and finds this thread.
MDAIIIUser said:
Can you add the wiki link just in case somebody uses search and finds this thread.
Click to expand...
Click to collapse
Sure! It's on the main Wiki page for the Wizard.
Enjoy!

input changer arrow too small

hate how small it is.... very hard to use without the stylus... is there an easier to use input changer that could be more touch friendly out there?
LOL SERIOUSLY! someone has to agree!
I agree but it's not worth the effort to alter.
liquidsilver said:
I agree but it's not worth the effort to alter.
Click to expand...
Click to collapse
you hurt my feelings
Try QuickMenu. It has a feature to change SIP.
It would be great to develop a small program with command line switching of SIP. Then we could assign certain SIPs to hardware buttons. Especially useful for skanndelus
been looking on the web for a tweak for this, can't seem to find anything relevant in any files or registry either
I agree, the arrow is way too small and it also takes far too long for the menu to pop-up.
THis is a serious issue for me as I write e-mails and text messages in dual languages every day. If that arrow was an ear hair bigger I could get it with my thumbnail....how frustrating!!!! What about adding an item to the tap-and-hold menu or making a switch I could assign to a hardware key? I would gladly donate $20 to someone who can fix this!
Try this little app...
Hi Lycox, the little app you posted is "phonepad" I think this is not a solution, but could be usefull if I could just hit the little arrow to select it from my really slow sip list.
Well I don't get it, it maybe just made phonepad the default sip, didn't think I had it installed.
Doh, now I get it, I assigned it to a button and of course Lycox, this is exactly what I wanted. Would be nice to just flip between two favourite sips, rather than go through them all, but I'll probably find out it does in a minute. Thanks anyway Lycox.
it's fantastic! Now we need to find a way to get rid of 'keyboard' and other SIPs we don't use. If there were just two on the list this would be it.
I don't find the arrow size as annoying as the time it takes for the menu to pup up.
I find it easier to go Start-> Settings-> Input and change things there. Silly really.
Just found this: http://forum.xda-developers.com/showthread.php?t=242503
Edit: but I can't get it to work.
found this at pocket gear http://classic.pocketgear.com/software_detail.asp?id=26285 but it's not free.
10$ ? That's a lot for a little tool. Anyway.
With the one posted by Lycox I get an error every time I do the full circle of input methods:
"SipSetCurrentIM Error=0".
Not a big issue, annoying nevertheless.
How to disable unused SIPs?
sabestian said:
10$ ? That's a lot for a little tool. Anyway.
With the one posted by Lycox I get an error every time I do the full circle of input methods:
"SipSetCurrentIM Error=0".
Not a big issue, annoying nevertheless.
How to disable unused SIPs?
Click to expand...
Click to collapse
i figured out how to do this last night.... i'll see if i can find the link... it was just a matter of finding the reg keys under classes, then changing a dword value from 1 to 0 to remove it from the list.
Do NOT remove the default "keyboard" from the SIP list. If you do and something goes horribly wrong, you can be left with an inputless device.
can read about removing unused SIP modes from the list here...
http://wiki.xda-developers.com/index.php?pagename=WM5_Tweaks_Other
bump!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Show keyboard while hiding SIP toolbar below

Hey,
I am developing for WM5 using C# ... is there any way that I can show my SIP keyboard but without the bar below it? I am running my App fullscreen and it just looks silly with the little bar below it... also it's a waste of real estate of the screen.
this is a pic of what I mean
Is there any reg key/COM usage/code/workarounds or anything I can do (not sticking something on the screen ) to hide this while showing the keyboard?
Mark
is this is an iphone keyboard??
i understand your pain. This is a design decision from Microsoft so that the user is able to switch on and off the keyboard at any time. But obviously they messed it up.
When I was trying I was not even able to draw something upon it to at least make it invisible. Anyway, if u are programming in C++ you could create your own SIP class. try this article from MSDN to help you out http://blogs.msdn.com/windowsmobile/archive/2005/02/10/370355.aspx
Hehe... yes it is indeed an iPhoney keyboard
I got it using the PCMKeyboard Here and then skinning it with this skin I actually found somewhere in xda dev forums
I have seen that link, that would allow me to create my own SIP keyboard and add it in... I like the iphone one and want to use it.. just without the stupid little icon. I'm happy to hack it off but ideally only when in my app... it'd be a bit annoying to lose it permanantly. I was thinking about some way to even force it offscreen... so it's "there" it's just not visible? ... might be a load of hassle as id'd have to catch the scrollbar everytime and only show it when the screen content was > screenheight + 20 px or something... but that might be an idea. Obviously I could write a keyboard controll but that's a lot of hassle to write and skin it.... unless there is already one in .net out there
Hope some xda dev genius can come up with a better solution though...
Resco Keyboard Pro also has iphone keyboard skin.
Yeah we work closely with Peter and the guys at resco with their mobile forms toolkit and co-design a lot of custom items... unfortunately that is just another SIP keyboard... so I would run into the same problem of hiding the evil little icon/toolbar.
There must be someone here who knows how to do this.. I mean I just watched videos of people proving they are smarter than HTC and writing OpenGL drivers for a phone!! lol... I might go and annoy a jr developer to make myself feel smart again as reading posts in this forum are no good for my ego
Not sure if there is anything in here for you. I can't see what your after, but I'll post it anyhow. You might be able to gleam something from it...
http://msdn.microsoft.com/en-us/library/aa182530.aspx
Ta
Dave
DaveShaw said:
Not sure if there is anything in here for you. I can't see what your after, but I'll post it anyhow. You might be able to gleam something from it...
http://msdn.microsoft.com/en-us/library/aa182530.aspx
Ta
Dave
Click to expand...
Click to collapse
Hmm... nothing there, but thanks very much. I have created a menu bar and when I add more than 2 items to it the sip icon moves to the right hand side, so there is obviously something somewhere that can control this... if it is docked in that menu, I wonder if there is a way to hide the menu as opposed to removing it and possibly hide the sip thing too??! or the sip thing might exist "above" the bar and just appear to be on it....
Any more ideas would be very welcome!
Cheers for the help,
Mark
I'm no programmer so I can't help. But I remember when I was using PocketCM contacts (written by the tene who wrote PocketCM keyboards), during the sms screen the keyboard will popup but the little "evil" bar won't appear. You may want to ask tene how s/he achieved that.
wearefree said:
I'm no programmer so I can't help. But I remember when I was using PocketCM contacts (written by the tene who wrote PocketCM keyboards), during the sms screen the keyboard will popup but the little "evil" bar won't appear. You may want to ask tene how s/he achieved that.
Click to expand...
Click to collapse
Ooh... cheers for that! I'll post on the PocketCM forum and see if I can get an idea.. or is he a member here?
Can't believe how much hassle such a small thing is... unfortunately my plan to push the form 25px lower to simply hide the bar doesnt seem to be working....
Mark
I just saw the thing about the Q&A thread ... so sorry for doing this... but in for a penny and all that...
I have seen here what looks like the code to hide the sip button.. but I am unsure how to call that in c# anyone able to help?
markmcgookin said:
I just saw the thing about the Q&A thread ... so sorry for doing this... but in for a penny and all that...
I have seen here what looks like the code to hide the sip button.. but I am unsure how to call that in c# anyone able to help?
Click to expand...
Click to collapse
Im having a play, let me see what I find...
Dave
Cheers dave!
Much appreciated!
Heres a quick Port of what I need to do to show/hide the SIP.
Did you also spot the link to the C++ article at the bottom. (http://support.microsoft.com/kb/266244/EN-US/)
Ta
Dave
Dave,
Thanks for your help... that seems to just be the same as
this.InputPanel1.enabled = false;
and if you still click there it proceeds to appear. I really want the keyboard up.. but with no icon or space down there. (Tempted to say it's impossible just to spark peoples interest in a challenge! lol)
I have tried this and it's PERFECT for what I want... only in VB
So I am going to have a go at converting it to c# ... but we all know... this will never work... lol so I will keep you posted and put the solution up when I finish. (P.S - Please dont tell my boss I've spent all day on this... but you know what it's like when you come up against a problem that puzzles you!)
HORRAY!
We have success... this is based on the work from the link that the guys in the above post have done in VB... I won't lie I don't understand it 100% but I get most of it. I have ported it over to .cs and it works a treat!
the commented out line in the code is for me, I have a custom iphoney SIP with different dimensions in it. The project as is should work for the standard windows kb sip.
Thanks so much for all the contributions and help though!
solution is attached
markmcgookin said:
HORRAY!
We have success... this is based on the work from the link that the guys in the above post have done in VB... I won't lie I don't understand it 100% but I get most of it. I have ported it over to .cs and it works a treat!
the commented out line in the code is for me, I have a custom iphoney SIP with different dimensions in it. The project as is should work for the standard windows kb sip.
Thanks so much for all the contributions and help though!
solution is attached
Click to expand...
Click to collapse
Grats Mark,
I was just looking at that code. What it does, is it gets the Handle of the Window of the SIP (keyboard and the bar your trying to hide) using Find Window, SipWndClass is the name of the SIP window.
And them moves them down, off the bottom of the screen.
Ta
Dave
I dont mean to bring up old threads but I just wanted to add a note for any one that stumbles across this on the intertubes(as i did). In fact, the sipbutton and sipkeyboard have different handles. To actually hide the sipbutton(and not just move the keyboard over top of it) you need to use the "MS_SIPBUTTON" class to get your handle instead of "SipWndClass".
i.e.
Code:
Dim h As IntPtr = FindWindow("MS_SIPBUTTON", Nothing)
MoveWindow(h, 0, Me.Height, 0, 0, False)
With Fingerkeyboard you have the option to simply not show the entire bar
Would it be possible to have this work only if your keyboard was in landscape position? I know Fingerkeyboard has this option but I would like to do the same thing with a different keyboard. Thanks in advance.
Oh wow.
I have been looking for this solution for a LONG TIME. I'd love to be able to have the same type of screen as using Pocket CM (keyboard at the bottom of the screen) in other programs, without losing the functionality of the screen buttons... like "Send" "Menu" in messaging.

Categories

Resources