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
lable ................

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
CRect rect1(170,170,280,190);
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
lbl.SetWindowText(IdWordField);

so how do i do this .......please help
cheers