This is NOT possible with with
C
-like strings, i.e. if
data1
is defined in this (or similar) way:
char data1[] = "foo";
Your best bet would be wrapping such pointers in a
CString
object, e.g.
CString text = data1;
text += "and" + data2;
Wnd->SetWindowText(text);