Hi,
I'm writing an utility in c# under WM6 for HTC Excalibur (qwerty
keyboard)
In the utility there's an edit box which should change the input to
numbers instead of abc
how can i do it?
		
		
	 
	
	
LOL
just solved it myself via collection of data from several forums,
maybe will be helpful to others:
        [DllImport("coredll.dll", EntryPoint = "SendMessage")]
        private static extern uint SendMessage(IntPtr hWnd, uint msg,
uint wParam, uint lParam);
        [DllImport("coredll.dll", EntryPoint = "GetCapture")]
        private static extern IntPtr GetCapture();
        [DllImport("coredll.dll", EntryPoint = "GetWindow")]
        private static extern IntPtr GetWindow(IntPtr hWnd, int
uCmd);
        private const int GW_CHILD = 5;
        private const uint EM_SETINPUTMODE = 0x00DE;
        private const uint EIM_NUMBERS = 2;
        public SetMode() {
            textBox1.Capture = true;
            IntPtr hWndUser = GetCapture();
            hWndUser = GetWindow(hWndUser, GW_CHILD);
            textBox1.Capture = false;
            SendMessage(hWndUser, EM_SETINPUTMODE, 0, EIM_NUMBERS);
        }