How to get data from windows form
开发者_JAVA技巧i wanted to get the value of a TextBox in a form and use it in main.cpp. How would i do this? Sorry if this is unclear i have never used forms. i am using windows 7, VC++ 2010.
You send it a WM_GETTEXT message. If it's your form in your process then you will know the window handle. Otherwise you've got to get hold of it by some means.
精彩评论