MFC. displaying text in a label recieved from a Edit Field box
ok what im trying to do is ..to type some text into a text box ..then by clicking a button have that text display in a
heres some of my code this is the function from the button click
lbl.SetWindowText("Hello there ");
the above code at the moment will display text "Hello there"
into the lable...........
Now what im wanting to do is to recieve text from the text box
here is the code for my Edit field
// Word Search Text Field
IdWordField.Create (WS_CHILD|WS_VISIBLE|WS_BORDER ,rect1,this,ID_BTNsearchWord);
i had a go at doing this by using the following code but it didnt work
it gave me an error
so how do i do this .......please help