I'm having trouble getting this to work, i just have a button and a text box right now and when you click the button i want the text in the text box to change but it doesn't seem to work. Heres what i have for the code.
#define ID_CAPCNV 100
#define ID_EDBX 101
EBOX = CreateWindowEx(WS_EX_CLIENTEDGE, TEXT("EDIT"), TEXT(""), WS_CHILD|WS_VISIBLE|WS_BORDER, 5, 5, 200, 30, hwnd, (HMENU)ID_EDBX, 0, NULL);
BTN = CreateWindow("button", "Text", WS_CHILD | WS_VISIBLE, 5, 50, 100, 20, hwnd, (HMENU)ID_EDBX, 0, NULL);
I've tried SetWindowText and SetDlgItemText both seperatly but i included them both in here so maybe you can help