Using C#, is there a way to automatically display the keyboard when a text box is activated in Windows Mobile 5 and 6?
A:
Ram
2010-06-03 05:57:57
thanks. more accurately the code looks like:new Microsoft.WindowsCE.Forms.InputPanel().Enabled = true;
INTPnerd
2010-06-03 06:35:22
No, that is not more accurate. You shouldn't be creating a new InpoutPanel every time you get activated. You should put an InputPanel in the Form's components or at the class level and use that one.
ctacke
2010-06-03 13:40:07
ctacke, Thanks for pointing this out because it caused me to figure out that you need to dispose InputPanel objects. Is there any other reason why you should not create one every time you want to enable or disable the SIP? Anyway, the purpose of my comment was to point out that the code posted by Ram does not compile since the Enabled property is not static. However I still marked his post as the answer since he turned me onto the InputPanel class and the Enabled property and linked to the answer.
INTPnerd
2010-06-04 01:26:19