PDA

View Full Version : Problem with ITEXTCTL_SetText


arunbangari
05-01-2002, 09:53 PM
Hi all,
When ever i do ITEXTCTL_SetText, the cursor always stays in the first place. It does not set to the end of a character or the string. Is ther any way of moving the cursor to the end of the string when i do SetText?

Thanks in Advance..
Arun Bangari

Murray Bonner
05-02-2002, 08:28 AM
Hello:

This topic has come up before and, if I remember correctly, you use WSTRLEN to find out how many spaces you need to move the cursor. Then you just keep sending AVK_RIGHT events to the control until the end of the string is reached.

I remember reading that this strategy will not work with the Kyocera 3035.

Check the FAQ and knowledge base as I know I've seen this topic discussed in one of them. Also you may want to check with tech support to see if a workaround has emerged for the 3035. If you find one, please post the procedure here.

Sorry if this isn't what you're looking for.

Regards,
MB