BCGControlBar Pro for MFC
virtual BOOL CBCGPMDIChildWnd::IsReadOnly ( )
inlinevirtual

Tells whether a document viewed in the window is read only, or not.

Returns
TRUE if a contained document is read-only; otherwise 0.

This function is used to prevent saving of read-only documents via the "Windows" dialog.