sendmessage(focushld,WM_SETTEXT,0,LongInt(LpStr('Test')));试试!