Partager via


CFileDialog::HideControl

Call this member function to hide the specified control in an Explorer-style Open or Save As common dialog box.

void HideControl( 
   int nID  
);

Parameters

  • nID
    The ID of the control to hide.

Remarks

The dialog box must have been created with the OFN_EXPLORER style; otherwise, the function will fail with an assertion.

Requirements

Header: afxdlgs.h

See Also

Reference

CFileDialog Class

Hierarchy Chart

CDM_HIDECONTROL

CFileDialog::SetControlText