|
-
December 28th, 2009, 08:48 AM
#2
Re: Edit Box Controls
You can copy the contents of an edit control to a string using the GetWindowText API call. This will retrieve all the text.
For manipulating portions of text in a multiline edit control, use the EM_SETSEL and EM_GETSEL, and EM_REPLACESEL messages.
http://msdn.microsoft.com/en-us/library/aa924582.aspx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|