I have two editbox in dialog. I want when I write any thing in first editbox on same time it will show in second edit box like MS excel. Can anybody help me. Please tell me some code for it.
Thanks
Printable View
I have two editbox in dialog. I want when I write any thing in first editbox on same time it will show in second edit box like MS excel. Can anybody help me. Please tell me some code for it.
Thanks
Handle WM_CHAR in the first, use GetWindowText() to get the text and SetWindowText() to copy it to the second one.
I would suggest handling EN_CHANGE notification in a dialog for one edit control to set text in the other.