CFileDialog::GetReadOnlyPref

BOOL GetReadOnlyPref( ) const;

Return Value

Non-zero if the Read Only check box in the dialog box is selected; otherwise 0.

Remarks

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. The Read Only check box can be hidden by setting the OFN_HIDEREADONLY style in the CFileDialog constructor.

CFileDialog OverviewClass MembersHierarchy Chart

See Also   CFileDialog::CFileDialog, CFileDialog::GetPathName, CFileDialog::GetFileExt