如何利用程序拉下ComboBox?
''声明:
Const CB_SHOWDROPDOWN = &H14F
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
''代码:
SendMessage Combo1.hwnd, CB_SHOWDROPDOWN, True, ByVal 0&
如果收起列表框,则是:
SendMessage Combo1.hwnd, CB_SHOWDROPDOWN, False, ByVal 0&
Tags:
作者:佚名评论内容只代表网友观点,与本站立场无关!
评论摘要(共 0 条,得分 0 分,平均 0 分)
查看完整评论