This project is read-only.

Reuse of default system keyboard?

Dec 19, 2009 at 9:02 PM


I've seen you included a custom keyboard. But the latest soft keyboards are of very good quality. Is it possible to invoke the system keyboard instead?




Jan 8, 2010 at 11:52 PM

Hi, mkamonster.

Yes, you can - just override OnShowKeyboardChanged in your Window class, like this:


	public class MainWindow:Window
		public MainWindow()
			//InputPanel is available in Microsoft.WindowsCE.Forms
			inputPanel = new InputPanel();

		protected override void OnShowKeyboardChanged(bool value)
			inputPanel.Enabled = value;

Perhaps you also need to update layout of your window according to keyboard size - I have no such code right now so you need to implement it by yourself - look at base OnShowKeyboardChanged and SipAwareContainer how to do this.