CFileDialog::OnShareViolation

Override this method to provide custom handling of share violations. Usually, you do not need to use this method because the framework provides default checking of share violations and displays a message box if a share violation occurs.

At a Glance

Header file: Afxdlgs.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

virtual UINT OnShareViolation( LPCTSTR lpszPathName );

See Also

CFileDialog::OnFileNameOK