Quote Originally Posted by Dry Bone View Post
Since you are using a manifest for visual-styles, if you want to turn it off for a specific control, do it like this:
Code:
Private Declare Function SetWindowTheme Lib "uxtheme.dll" (ByVal hwnd As Long, ByVal pszSubAppName As Long, ByVal pszSubIdList As Long) As Long

Private Sub Form_Load()
Call SetWindowTheme(cboMin.hwnd, 0, StrPtr(""))
End Sub
Thanks Bone for the suggestion, but, yes, it will remove the visual style, but the height of the dropdown is still the same (showing all items), even worse, because now there is no scrollbar in it.