Brew Question: Download Questions PDF
How to move the cursor to the end of the text input?
![Brew Interview Answer Brew Interview Question](https://globalguideline.com/public/images/interview/26.png)
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--;
}
For example:
while(len) {
ITEXTCTL_HandleEvent(pMe->m_pIText, EVT_KEY,
AVK_RIGHT, dwParam);
len--;
}
Download Brew Interview Questions And Answers
PDF
Previous Question | Next Question |
What is the transparent color on color and monochrome phones? | How to create a text control with horizontal and vertical scrollbars? |