| View previous topic :: View next topic |
| Author |
Message |
vraju
Joined: 14 Jun 2007 Posts: 5
|
Posted: Thu Jun 14, 2007 3:30 am Post subject: Select non-english data in a combobox |
|
I select an item from a combo box based on data rather than index (basic requirement for me).
The issue I have is now the contents of combo box has non-English or Wide Char characters.
The API RxComboBoxSetSelectedText will not work as it does not support non-English/Wide Char characters.
I use only Ranorex Core in C/C++ environment. I can not switch to .Net.
Is there any workaround?
-Venkat |
|
| Back to top |
|
 |
admin Site Admin
Joined: 05 Jul 2006 Posts: 351
|
Posted: Fri Jun 15, 2007 12:31 am Post subject: |
|
We have some functions in RanorexCore with unicode support (undocumented at the moment).
Which functionality do you exactly need?
Only selecting a unicode item in a combo?
Jenö
Ranorex Team |
|
| Back to top |
|
 |
vraju
Joined: 14 Jun 2007 Posts: 5
|
Posted: Sat Jun 16, 2007 1:22 pm Post subject: |
|
Yes. I have to select an item from a COMBO box, which can be either Korean, Japanese, Thai, Spanish or any other world language.
My current code:
[i]hComboBox = RxFormFindChildControlId(Parent, ControlID);
if( hComboBox == GNTF_NULL)
{
return ERR_NotFound;
}
if(-1 == RxComboBoxSetSelectedText(hComboBox, szItemName))
{
return ERR_NotFound;
}[/i]
RxComboBoxSetSelectedText however only takes char * as argument.
-Venkat. |
|
| Back to top |
|
 |
admin Site Admin
Joined: 05 Jul 2006 Posts: 351
|
Posted: Sun Jun 17, 2007 8:55 pm Post subject: |
|
I will export some functions with unicode support in RanorexCore and send you a V1.2.0 Beta next week.
You can then try it with your combo boxes.
Jenö
Ranorex Team |
|
| Back to top |
|
 |
|