Hi! I have problems with the assignment, and our teacher is absolutely incompetent :((( Pleeease, help with 5 task (Add a reaction to the button click - display on the form an inscription from the text field)
1.Create a Windows form;
2.Add a greeting to the form;
3.Add a text box to the form
4.Add a button to the form;
5.Add a reaction to the button click - display on the form an inscription from the text box
#define MY_BUTTON 101
// use MY_BUTTON as your button id
//inside your window callback
case MY_BUTTON: // your button id
{
SetWindowText(someLabel, _T("You clicked the button")); //set text control/label
} break;