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