I know how to put a string in a MessageBox. How would I get a user-typed string from an edit box?
I know how to put a string in a MessageBox. How would I get a user-typed string from an edit box?
UINT GetDlgItemText(
HWND hDlg, // handle of dialog box
int nIDDlgItem, // identifier of control
LPTSTR lpString, // address of buffer for text
int nMaxCount // maximum size of string
);