Edit Box Highlighting

When a user moves form one edit box to another with the TAB key, the text within the edit box is highlighted.  However, if I control the order programmaticly the text isn't highlighted.  How can I do this?

I'm working with Win98 and Dev Studio version 6.

Thanks in advance.
TrainManAsked:
Who is Participating?
 
SteveGTRConnect With a Mentor Commented:
Call SetSel(0, -1) after you set focus. This will select all the text in an edit control.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.