本帖最后由 machealx 于 2013-05-14 14:21:37 编辑

解决方案 »

  1.   

    LRESULT SendMessage(HWND hWnd,UINT Msg,WPARAM wParam,LPARAM IParam);
    SendMessage( 
      (HWND) hWnd,              // handle to destination window 
      WM_SETTEXT,               // message to send
      (WPARAM) wParam,          // not used; must be zero
      (LPARAM) lParam           // window-text string (LPCTSTR)
    );
    这种问题上MSDN搜索 都是有例子的
    第三个为0,第4个为要发送的字符串