CFileDialog::SetControlLabel

Sets the text associated with a control, such as button text or an edit box label.

HRESULT SetControlLabel(
   DWORD dwIDCtl,
   const CString& strLabel
);

Parameters

  • dwIDCtl
    The ID of the control.

  • strLabel
    The control name.

Requirements

Header: afxdlgs.h

See Also

Reference

CFileDialog Class