共用方式為


CFileDialog::AddEditBox

Adds an edit box to the dialog.

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

Parameters

  • dwIDCtl
    The ID of the edit box to add.

  • strText
    The edit box name.

Requirements

Header: afxdlgs.h

See Also

Reference

CFileDialog Class