Form3.frm
上传用户:hyb6888
上传日期:2016-01-24
资源大小:5186k
文件大小:2k
- VERSION 5.00
- Begin VB.Form Form3
- Caption = "Form3"
- ClientHeight = 3090
- ClientLeft = 60
- ClientTop = 450
- ClientWidth = 4680
- LinkTopic = "Form3"
- ScaleHeight = 3090
- ScaleWidth = 4680
- StartUpPosition = 3 '窗口缺省
- Begin VB.Frame Frame3
- Caption = "设置默认输入法"
- Height = 615
- Left = 480
- TabIndex = 0
- Top = 1080
- Width = 3015
- Begin VB.ComboBox Combo1
- BeginProperty Font
- Name = "宋体"
- Size = 12
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 360
- ItemData = "Form3.frx":0000
- Left = 90
- List = "Form3.frx":0002
- OLEDropMode = 1 'Manual
- TabIndex = 2
- Text = "输入法选择"
- Top = 210
- Width = 1785
- End
- Begin VB.CommandButton Command1
- Caption = "指定"
- Height = 375
- Left = 2310
- TabIndex = 1
- Top = 165
- Width = 615
- End
- End
- End
- Attribute VB_Name = "Form3"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Combo1_Click()
- Dim se As Long
- se = Combo1.ListIndex
- 'ActivateKeyboardLayout hKBA(se), 0
- End Sub
- Private Sub Command1_Click()
- Dim se As Long
- se = Combo1.ListIndex
- If (se >= 0) Then
- SetOrderIME hKBA(se)
- End If
- End Sub
- Private Sub Form_Load()
- StartmyIME '初始化输入控制控件
- i = 0
- While (hKBAstr(i) <> "")
- Combo1.AddItem hKBAstr(i)
- i = i + 1
- Wend
- End Sub