How to extract the lines from a multiline TextBox.
Also shows how to auto-scroll the TextBox as you add items.
Uses the following API functions and messages:
- CopyMemory (RtlMoveMemory)
- SendMessage
- EM_GETLINE
- EM_GETLINECOUNT
Back to Code Samples
Copyright © 2000 by Matt E. Hart, All Rights Reserved Worldwide.
Nothing on this web site may be reproduced, in any form, without express written consent.