Public Class SIP
    <System.Runtime.InteropServices.DllImport("coredll.dll")> _
    Private Shared Function SipShowIM(ByVal dwFlag As Integer) As Integer
        'Nothing
    End Function

    Public Shared WriteOnly Property Visible() As Boolean
        Set(ByVal Value As Boolean)
            If Value = True Then
                SipShowIM(1)
            Else
                SipShowIM(0)
            End If
        End Set
    End Property
End Class

简单的说明一下SIP,SIP就是Soft Input Panel(软键盘).
功能:打开或关闭SIP

Posted on 2006-06-26 22:46  Good Neo  阅读(298)  评论(0编辑  收藏  举报