Override this function to provide custom handling of share violations. Normally, you do not need to use this function because the framework provides default checking of share violations and displays a message box if a share violation occurs.
virtual UINT OnShareViolation( LPCTSTR lpszPathName );
| Header File | Afxdlgs.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CFileDialog Overview, CFileDialog Member Functions, Dialog Box Classes, CFileDialog::OnFileNameOK