PyCWnd.GetDlgItemText

string = GetDlgItemText(idControl)

Returns the text of child window or control with the specified ID.

Parameters

idControl : int

The Id of the control to be retrieved.

MFC References

CWnd::GetDlgItemText