怎样用c#代码打开pda的软键盘呢?
我想在某个txtbox获得焦点时,自动弹出软键盘.
请问该怎么做呢?
请各位高手指教!
谢谢

解决方案 »

  1.   

    有api的 忘记是哪个,网上查找一下。
      

  2.   

    public   static   uint   SIPF_OFF   =   0x00;//关闭     
      public   static   uint   SIPF_ON   =   0x01;//打开     
        
      [DllImport("coredll.dll")]     
      public   extern   static   void   SipShowIM(uint   dwFlag);
      

  3.   

     [DllImport("coredll.dll")]   这是什么意思啊?是不是要导入什么包啊?
      

  4.   

    那个的意思是调用非托管制dll用的
    调用windows里面的api
      

  5.   

    怎么可能
    我的代码
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using System.Runtime.InteropServices;namespace DeviceApplication2
    {
        public partial class Form1 : Form
        {
            public Form1()
            {
                InitializeComponent();
            }
            public static uint SIPF_OFF = 0x00;//关闭    
            public static uint SIPF_ON = 0x01;//打开            [DllImport("coredll.dll")]
            public extern static void SipShowIM(uint dwFlag);
            private void button1_Click(object sender, EventArgs e)
            {
                SipShowIM(SIPF_ON);
            }
        }
    }