User32SetWindowText Method

Overload List

SetWindowText(IntPtr, String) 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(IntPtr, String) cannot change the text of a control in another application.

SetWindowText(SafeHandle, String) 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(IntPtr, String) cannot change the text of a control in another application.

See Also