Whats the code for reading from a editbox?
For example, if I type in "Hello" in the editbox and then press a button, a textlabel (IDC_STATIC) on the form will change to "Hello"
How would the code look?
/Ragnar
Printable View
Whats the code for reading from a editbox?
For example, if I type in "Hello" in the editbox and then press a button, a textlabel (IDC_STATIC) on the form will change to "Hello"
How would the code look?
/Ragnar
Hope this will help :)
PHP Code:char *Buff = new char[20];
memset(Buff, 0, 20);
GetDlgItemText(hDlg, IDC_EDIT1, Buff,20);
MessageBox(hDlg, Buff, "Result", MB_OK);
delete [] Buff;