Tutorial in C++ involving text with textout and some simple operations with edit controls
You could use the simple control thing by plugging something like this into your code (inside WM_CREATE or something)
And then do stuff with edit. Alternatively you could learn about resources and create resource based controls instead of createwindow.
HWND hEdit = CreateWindow("EDIT", "", WS_CHILD | WS_VISIBLE, 10, 10, 50, 20, hwnd, (HMENU) 0x1234, GetModuleHandle(0), 0);
Edit edit(hwnd, 0x1234);