|
-
September 12th, 1999, 04:49 AM
#1
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
-
September 13th, 1999, 02:09 AM
#2
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
-
September 13th, 1999, 03:04 AM
#3
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|