How can I hide the little keyboard popup in Windows Mobile 6.5? (c#)

前端 未结 3 1552
一个人的身影
一个人的身影 2021-01-23 02:52

I have an app that is essentially a wizard that goes through some dialog boxes. One of the forms has just a button on it that brings up the common \"take picture\" dialog.

3条回答
  •  失恋的感觉
    2021-01-23 03:43

    [DllImport("coredll.dll", EntryPoint = "SipShowIM")]
    public static extern bool SipShowIMP(int code);
    
    SipShowIMP(1); //Show the keyboard
    
    SipShowIMP(0); //Hide the keyboard
    

    That should do it :-)

提交回复
热议问题