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