There is a child textbox control in an chlid window form created by main window form using thread technology, and I wanna implement this function: In the child window form, when I click a button (or Enter-key-down), it pass the text to the main window form. What can I do about that?
Share
You need a way for the ChildWindow to send a message back to MainWindow. Following example should be useful:
Code:
An Interface to allow “communication” between windows
MainWindow
ChildWindow: