>Well, actually I'm speaking of the basic combo box provided by the Visual Fox Pro form controls toolbar.
>
>The problem with this is that the easy way of doing it is much to slow on combo boxs with many (1000 and up) items in the list box (an incremental search on the items in the list every time a keypress event occurs).
>
>We solved this issue in a VB program we had by using an API call. The problem with running this in FoxPro is that VFP 5.0 does not provide handles to common controls...as far as I can tell from the research I've done. Is this true from what you know?
>
Valter,
You can't get a window handle to
any of the default VFP controls, except forms. Why? They're not windows as they are in other environments such as VB and VC++. Now, if you want to use a ActiveX control (the Microsoft Forms 2.0 may include one), it's a different story.
You can confirm this by using a tool like Spy++ that comes with the VS tools, or something like my SpyFoxFox. Both will enumerate
all open windows (including those that are controls).
George
Ubi caritas et amor, deus ibi est