we know that combo box accepts calls rfom the sendmessage api to show its dropdow list progrmatically something like this
i m making a user control that depends on a combo and i want my control to have the same functionality .Code:Private Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, _ ByVal wParam As Long, lParam As Long) As Long Private Const CB_SHOWDROPDOWN = &H14F Dim lRet As Long lRet = SendMessage(Contr.hwnd, CB_SHOWDROPDOWN, 1, ByVal 0&)
can ne1 help me?
thnks




Reply With Quote