News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Edit to Edit

Started by ic2, January 15, 2007, 09:32:07 PM

Previous topic - Next topic

ic2

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.

ic2

Never mind, I must be getting tired.

invoke SendMessage,EDIT_1,WM_GETTEXT,500, offset Writebuffer1

invoke SetWindowTextA,EDIT_2, offset Writebuffer1