rainstormmaster(rainstormmaster)及诸位高手来帮忙!!!
小弟想给用 sendmessage 给MSFlexGrid控件的 上下箭头按钮发消息。
该如何写? 请指教。
option Explicit
Private Const BM_CLICK =??
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
'模拟单击Command2
Private Sub Command1_Click()
SendMessage CMSFlexGrid1.hwnd, BM_CLICK, ??, ByVal 0&'最后一个参数byref传递也可
End Sub