// hwDispatch := FindWindow( 'Notepad', 'QQTXT' ); SendMessage(594340, WM_SETTEXT, 0, integer(pchar('hello')));