Hi, I can use a kind of auto complete in the combobox box look at the following line:

PHP Code:
int theindex;
theindex SendMessage(cbhwndCB_FINDSTRING, (WPARAM)-1, (LPARAM)(LPCSTR)"C:"
When I read the value of "theindex" I get some large number like "20101201020" what is that? Should not it return a real index number like 0,1, or 2 in the combobox?