virtual UINT OnShareViolation( LPCTSTR lpszPathName );
Return Value
One of the following values:
Parameters
lpszPathName
The path of the file on which the share violation occurred.
Remarks
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.
If you want to disable share violation checking, use the bitwise OR operator to combine the flag OFN_SHAREAWARE with m_ofn.Flags.
CFileDialog Overview | Class Members | Hierarchy Chart
See Also CFileDialog::OnFileNameOK