win32gui.SetDlgItemText

SetDlgItemText(hDlg, IDDlgItem, text)

Sets the text for a window or control

Parameters

hDlg : PyHANDLE

Handle to a dialog window

IDDlgItem : int

The Id of a control within the dialog

text : string

The text to put in the control