So far this is the code

Code:
#include "stdafx.h"
#include<Windows.h>
#include<commctrl.h>
#include<Winuser.h>
//#include <atlstr.h>
#define IDC_BUTTON 101


TCHAR szClassName[ ] = _T("WindowsApp");
LRESULT CALLBACK WindowProcedure (HWND , UINT , WPARAM , LPARAM);

HWND hEdit;
HWND hWnd;

void AddControls(HWND);
...