win32gui.SetDlgItemText

SetDlgItemText(hDlg, IDDlgItem, String)

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

String : str/unicode

The text to put in the control