Udostępnij za pośrednictwem


CMFCEditBrowseCtrl::EnableFileBrowseButton

Displays the browse button on the current edit browse control and puts the control in file browse mode.

void EnableFileBrowseButton(
   LPCTSTR lpszDefExt=NULL,
   LPCTSTR lpszFilter=NULL
);

Parameters

  • lpszDefExt
    Specifies the default file name extension that is used in the file selection dialog box. The default value is NULL.

  • lpszFilter
    Specifies the default filter string that is used in the file selection dialog box. The default value is NULL.

Remarks

When the edit browse control is in file browse mode and the user clicks the browse button, the control displays the standard file selection dialog box.

Requirements

Header: afxeditbrowsectrl.h

See Also

Reference

CMFCEditBrowseCtrl Class

Hierarchy Chart

CMFCEditBrowseCtrl::EnableBrowseButton