Ranorex

Select non-english data in a combobox

 
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexCore
View previous topic :: View next topic  
Author Message
vraju



Joined: 14 Jun 2007
Posts: 5

PostPosted: 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
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: 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
View user's profile Send private message Visit poster's website
vraju



Joined: 14 Jun 2007
Posts: 5

PostPosted: 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
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: 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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexCore All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum