Brew Question:
Download Questions PDF

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

Brew Interview Question
Brew Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
What is the transparent color on color and monochrome phones?How to create a text control with horizontal and vertical scrollbars?