Skip to main content

Problem:

How do I highlight / select all the text in an edit box automatically?

Resolution:

Simple, use...

Call SendMessage Using Win-Return edit2-H Em-SetSel 0 -1.

See the attached example.

    

Attachments:

27236.zip

Old KB# 4652