Re: Quick Search!!!
From: Randy Birch (rgb_removethis_at_mvps.org)
Date: 05/20/04
- Next message: JonWayn: "Re: WriteFile"
- Previous message: ALESSANDRO Baraldi: "Swap Dimension."
- In reply to: SaGdy: "Quick Search!!!"
- Next in thread: SaGdy: "Re: Quick Search!!!"
- Reply: SaGdy: "Re: Quick Search!!!"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 20 May 2004 18:11:07 -0400
I don't believe the datacombo responds to the same messages as the normal
combo. Others have tried contacting the manufacturer of the control (it's
not ms even if it says it is in the about), and so far have never heard any
positive successes in obtaining code to do this or other API techniques.
-- Randy Birch MVP Visual Basic http://vbnet.mvps.org/ Please respond only to the newsgroups so all can benefit. "In VB we had to code our own bugs. In dotnet we can inherit them." "SaGdy" <djam388NOSPAM@hotmail.com> wrote in message news:uVGxv9nPEHA.3524@TK2MSFTNGP10.phx.gbl... : Hi, : : How I can do quick search in DataCombo like in a simple Combo control by : using API call? Is there any way? : : This code to search in a simple Combo control: : : Private Const CB_FINDSTRING = &H14C : : Private Function ComboBoxIndex(ByVal lHwnd As Long, ByVal sSearchText As : String) As Long : ComboBoxIndex = SendMessageAny(lHwnd, CB_FINDSTRING, -1, ByVal sSearchText) : End Function : : Private Sub Command1_Click() : Dim a As Long : a = ComboBoxIndex(Combo2.hwnd, Combo2.Text) : Combo2.ListIndex = a : End Sub : : Thanks in advance, : SaGdy. : :
- Next message: JonWayn: "Re: WriteFile"
- Previous message: ALESSANDRO Baraldi: "Swap Dimension."
- In reply to: SaGdy: "Quick Search!!!"
- Next in thread: SaGdy: "Re: Quick Search!!!"
- Reply: SaGdy: "Re: Quick Search!!!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|