Hi everyone,
I have got some experience of printing numbers in a Win32 EDITTEXT control, but I don't know how to print strings. At the moment, I am using this:
How would I adapt this to print words instead of just numbers?Code:double number = 9.81; char string[100]; sprintf_s(string,"%0.2f", number); SetDlgItemText(hwnd, IDC_EDITTEXT, string);
Thanks a lot!