Brew Question: Download Brew PDF

How to move the cursor to the end of the text input?

Tweet Share WhatsApp

Answer:

The cursor can be moved to the end of the string by continuously invoking ITEXTCTL_HandleEvent() method n times on the string, where n is the length of the string.

For example:

while(len) {
ITEXTCTL_HandleEvent(pMe->m_pIText, EVT_KEY,
AVK_RIGHT, dwParam);
len--;
}

Download Brew PDF Read All 78 Brew Questions
Previous QuestionNext Question
What is the transparent color on color and monochrome phones?How to create a text control with horizontal and vertical scrollbars?