hwndEdit = CreateWindow(TEXT("Edit"), NULL, WS_CHILD | WS_VISIBLE | WS_BORDER,
50, 50, 150, 20, hwnd, (HMENU) ID_EDIT,
NULL, NULL);
And i have a button
hwndButton = CreateWindow( TEXT("button"), TEXT("Color it !"),
WS_VISIBLE | WS_CHILD,
50,100,200,25,
hwnd, (HMENU) ID_BUTTON, NULL, NULL);
and another texbox :)
CreateWindow(TEXT("Edit"), NULL, WS_CHILD | WS_VISIBLE | WS_BORDER,
50, 150, 150, 20, hwnd, (HMENU) ID_EDIT,
NULL, NULL);
Now i'm not familiar with Win32 codes but what i want to do is
:
1-Get the text from the first texbox on the button click and put it in a string
2-output string results in the second texbox.
So any heads up what functions i should use ?


Sign In
Create Account


Back to top









