Show / Hide Table of Contents

Method wnd.SetText


Overload

Sets window/control name or control text.

public void SetText(string text)
Parameters
text  (string)

Text. Can be null, it is the same as "".

Exceptions
AuWndException

Failed, for example the window is closed.

Remarks

Uses API WM_SETTEXT. Top-level window name usually its title bar text. For variable-text controls (edit, combo box, status bar, ...) this usually is the text that wnd.ControlText would get. For other controls (button, static, ...) and top-level windows this usually is the text that wnd.Name would get.

See Also

wnd.GetText
wnd.Name
wnd.ControlText