如题谢谢!

解决方案 »

  1.   

    SetWindowText Function--------------------------------------------------------------------------------The SetWindowText function changes the text of the specified window's title bar (if it has one). If the specified window is a control, the text of the control is changed. However, SetWindowText cannot change the text of a control in another application.SyntaxBOOL SetWindowText(          HWND hWnd,
        LPCTSTR lpString
    );ParametershWnd
    [in] Handle to the window or control whose text is to be changed. 
    lpString
    [in] Pointer to a null-terminated string to be used as the new title or control text. 
    Return ValueIf the function succeeds, the return value is nonzero.If the function fails, the return value is zero. To get extended error information, call GetLastError.