共用方式為


CFileDialog::SetEditBoxText

Sets the current text in an edit box control.

HRESULT SetEditBoxText(
   DWORD dwIDCtl,
   const CString& strText
);

Parameters

  • dwIDCtl
    The ID of the edit box.

  • strText
    The text value.

Requirements

Header: afxdlgs.h

See Also

Reference

CFileDialog Class