点击按钮控制下拉框下拉
2018-12-05 本文已影响0人
山里小孩
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Const CB_SHOWDROPDOWN = &H14F
Private Sub Command1_Click()
'Text1.Text = "hello,world!"
'Shell "D:\flashfxp506\FlashFXP.exe"
SendMessage Combo1.hwnd, CB_SHOWDROPDOWN, True, 0
End Sub