123
TCHAR tcInput [256]; GetWindowText (GetDlgItem (hWnd, TEXT_INPUT), tcInput, 256); MessageBox (hWnd, tcInput, "Test message", NULL);