scrolling ComboBox

(I previously posted this to qnx.public.qnx4.photon without success, so
I’ll try here…)

In QNX4, I would like to add a callback to a ComboBox widget so that when text
is entered in the text entry portion, the list portion (whose items are sorted
aphabetically) scrolls to the nearest item corresponding to the entered text.

I am able to retrieve the currently entered text, use it to figure out which
list item should be scrolled to, open the list and set the Pt_ARG_TOP_ITEM_PO
resource appropriately. The problem is that opening the list takes away focus
from the text entry portion of the ComboBox, and that re-selecting the text
entry causes the list to close.

Can anyone tell me how to leave focus on the text entry portion of the
ComboBox and leave the list open so that as the user enters text the list
will scroll to the nearest item?

\

=========================================
Will Parsons | wbparsons@Ysnet.net
(To reply: remove Y from e-mail address)