美文网首页
点击按钮控制下拉框下拉

点击按钮控制下拉框下拉

作者: 山里小孩 | 来源:发表于2018-12-05 13:46 被阅读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
    
    

    相关文章

      网友评论

          本文标题:点击按钮控制下拉框下拉

          本文链接:https://www.haomeiwen.com/subject/zggicqtx.html