Lookup the LB_FINDSTRING message...use it with SendMessage. Pass -1 for wParam and cast the string to find for lParam.
If the return is LB_ERR, then the string isnt in there and you can add it
Lookup the LB_FINDSTRING message...use it with SendMessage. Pass -1 for wParam and cast the string to find for lParam.
If the return is LB_ERR, then the string isnt in there and you can add it