
Determine when a ComboBox’s area is being closed
The ComboBox control exposes the DropDown event, that lets you determine when its list area is being opened. However, VB doesn’t offer any simple way to understand when the list
The ComboBox control exposes the DropDown event, that lets you determine when its list area is being opened. However, VB doesn’t offer any simple way to understand when the list
‘ ensure that a listbox item is visible’ if the second argument is omitted, the index of current item is used” NOTE: uses the ListBoxVisibleItems functionSub ListBoxEnsureVisible(lst As ListBox, Optional
In general you don’t have any control on a ComboBox’s Height property, because it is determined automatically by VB depending on the font used for the ComboBox control. If you
Private Type RECT Left As Long Top As Long Right As Long Bottom As LongEnd TypePrivate Declare Function GetWindowRect Lib “user32” (ByVal hWnd As Long, _ lpRect As RECT) As