PyCWnd.SetDlgItemText

SetDlgItemText(idControl, text)

Sets the text for the child window or control with the specified ID.

Parameters

idControl : int

The Id of the control

text : string

The new text

MFC References

CWnd::SetDlgItemText