Ммм. А как насчёт, например
Код:

lResult = SendMessage( // returns LRESULT in lResult
(HWND) hWndControl, // handle to destination control
(UINT) WM_SETTEXT, // message ID
(WPARAM) wParam, // = (WPARAM) () wParam;
(LPARAM) lParam // = (LPARAM) () lParam; );
wParam - This parameter is not used.
lParam - Pointer to a null-terminated string that is the window text.
Вам только надо правильно указать hWndControl
Это как вариант. Или я не совсем понял вопроса?