CFileDialog::GetReadOnlyPref
Visual Studio 2010
Call this function to determine whether the Read Only check box has been selected in the Windows standard File Open and File Save As dialog boxes.
BOOL GetReadOnlyPref( ) const;
You can hide the Read Only check box by setting the OFN_HIDEREADONLY style in the CFileDialog constructor.
Note
|
|---|
|
Windows Vista style CFileDialog objects do not support this function. Attempting to use this function on a Windows Vista style CFileDialog will throw CNotSupportedException. See CFileDialog Class for more information. |
Note