Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - ComboBox Auto Dropped State When Typing
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ComboBox Auto Dropped State When Typing

 Post Reply Post Reply
Author
Message
LeeHayton View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 November 2005
Location: United Kingdom
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote LeeHayton Quote  Post ReplyReply Direct Link To This Post Topic: ComboBox Auto Dropped State When Typing
    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
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post Posted: 22 June 2009 at 2:29am
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.