send text to a hwnd like i sayd.

i know hwnd is handle of window.
i have API and C++ experience with windows juts not sedning text to them