共用方式為


CUserToolsManager::SetFilter

Specifies the file filter that the File Open dialog box (CFileDialog Class) uses in the Command field on the Tools tab of the Customize dialog box.

void SetFilter(
   const CString& strFilter 
);

Parameters

  • [in] strFilter
    Specifies the filter.

Requirements

Header: afxusertoolsmanager.h

See Also

Reference

CUserToolsManager Class

Hierarchy Chart