The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: ic2 on January 15, 2007, 09:32:07 PM

Title: Edit to Edit
Post by: ic2 on January 15, 2007, 09:32:07 PM
I have two edit box on my window.  I read text into EDIT_BOX_1.  What is the combination of WM_MESSAGES to copy EDIT_BOX_1 to EDIT_BOX_2.  Is it possible this way if not what else can i do. 

invoke GetWindowText,hWin, ADDR EDIT_1, sizeof EDIT_2, EDIT_2
don't work.  I don't know what is missing.

I know I can re-read the same file in, or create a new file and read that in but I need to know another way of doing it that may be faster or more proper with wm_ or something else.

Thanks in advance for any information about my edit problem


PS: My TEB thread was close.  Just so that there is no mis-understanding ... I have nothing but praise for the forum and the community.  I hope six_L know my words represented a Big Thank You.  Also i founded that link at goggle which had tons of links to that site.  I am only an inexperience surfer.  I spend all of my free time here at the forum and at the community.  I don't know what sites are legal or not.
Title: Re: Edit to Edit
Post by: ic2 on January 15, 2007, 10:29:16 PM
Never mind, I must be getting tired.

invoke SendMessage,EDIT_1,WM_GETTEXT,500, offset Writebuffer1

invoke SetWindowTextA,EDIT_2, offset Writebuffer1