MATCH_SUBSTRING in RxListBoxFindString

Class library usage, coding and language questions.
Nik
Posts: 18
Joined: Fri Sep 29, 2006 1:35 am

MATCH_SUBSTRING in RxListBoxFindString

Post by Nik » Wed Nov 08, 2006 10:10 pm

I am facing problem in using RxListBoxFindString with MATCH_SUBSTRING as a parameter.
int posn = RxListBoxFindString (hListControl1, "Gold", MATCH_SUBSTRING);

The function is working with MATCH_EXACT, MATCH_FROM_START.

Is this a known bug? What is the solution?

-Nikhil

admin
Site Admin
Site Admin
Posts: 350
Joined: Wed Jul 05, 2006 7:44 pm

Post by admin » Thu Nov 09, 2006 9:34 pm

Yes it's a known bug, you can only do the following at the moment:

Read all ListBox items and check the text with the function strstr().

Jenö Herget
Ranorex Team