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
网友评论