![]() |
ComboBox Auto Dropped State When Typing |
Post Reply ![]() |
Author | |
LeeHayton ![]() Senior Member ![]() ![]() Joined: 25 November 2005 Location: United Kingdom Status: Offline Points: 102 |
![]() ![]() ![]() ![]() ![]() Posted: 18 June 2009 at 5:49am |
How do I get the ComboBox to automatically drop down when I start typing so that we can see the items that match what is being typed - the same functionality as the ComboBox control on the CommandBar where ShellAutoComplete = True - but for items that I have added to the ComboBox- e.g. "Item 1", "Item 2", "Item 3", etc. Thanks
Lee
|
|
![]() |
|
McKloony ![]() Senior Member ![]() ![]() Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
![]() ![]() ![]() ![]() ![]() |
Private Const CB_SETCURSEL = &H14E
Private Const CB_FINDSTRING = &H14C& Private Const CB_SHOWDROPDOWN = &H14F Private Const CB_GETDROPPEDSTATE = &H157 Private Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
PostMessage ComboBox.hwnd, CB_SHOWDROPDOWN, 0, 0 |
|
Product: Xtreme SuitePro (ActiveX) 16.2.5
Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |