-
Combo / List Box
Dear All,
I stored some data in Combo / List box. I wish to filter the item as user type something in a combo. The problem is combo does not automatically all available items in the combo window. I have to press Alt+ down Arrow Key to show. In case of Combo please tell me how to automatically show items in combo window.
In case of list box, How do I connect a text box to list box to filter the contents fo list box.
Santulan
-
Re: Combo / List Box
to show the dropdown list of a combobox you case use the following code:
Call SendMessage(Combo1.hwnd, CB_SHOWDROPDOWN, True, 0)
...and declarations
Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Public Const CB_SHOWDROPDOWN = &H14F
-
Re: Combo / List Box
Hello ,
How can I use the "SendKeys" function for example in order to activate certain controls on my form, during run-time.Is it even possible to do with "SendKeys" or do I have to bring in API funcs'..?
Thank-you!!
LED