I need some help, I have created a text box and a button, how do I handle the data, like... what do I have to put inside the button case and what to output the data?
I have tried so far...

case ID_BUTTON:
		{
		// code
			const int size = GetWindowTextLength(edit);

                    char szbuffer[7];
					LPCTSTR mystr;
					mystr=(LPCTSTR)(GetWindowTextA(edit, szbuffer, size+1));
                    SetWindowText(static_label,mystr);
		break;
		}

GetWindowText() returns an int, which can not be typecast to char* or LPCTSTR. Read all about that function here instead of just blindly tossing code at your compiler and expecting things to work.