Condividi tramite


CUserToolsManager::SetDefExt

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

void SetDefExt(
   const CString& strDefExt 
);

Parameters

  • [in] strDefExt
    A text string that contains the default file name extension.

Remarks

Call this method to specify a default file name extension in the File Open dialog box, which is displayed when the user selects an application to associate with the user tool. The default is "exe".

Requirements

Header: afxusertoolsmanager.h

See Also

Reference

CUserToolsManager Class

Hierarchy Chart