Hello
I am using MSVC++. I am making An MFC App. I have a static text which currently says: "none". I was wondering how would i make it say what is inside an edit box after i press ok.
Thank You In Advance
Hello
I am using MSVC++. I am making An MFC App. I have a static text which currently says: "none". I was wondering how would i make it say what is inside an edit box after i press ok.
Thank You In Advance
What you need to do is in the window procedure function wait until the button is pushed. You usually do this with the switch statement and the button is part of the WM_COMMAND. Then capture what is inside the Edit box with GetDlgItemText or a SendMessage and then place the text in the static text with SetDlgItemText or SendMessage.
- Sean
If cities were built like software is built, the first woodpecker to come along would level civilization.
Black Frog Studios