ShowFilesAssociationDlg Example for C++ 5.0 and later
void CDialogs::OnShowFilesAssociationDlg()
{
m_pRasterFileDlg->UIFlags = 0;
m_pRasterFileDlg->Formats= "LEAD (*.cmp)|*.cmp|DICOM (*.dic)|*.dic|Windows Bitmap (*.bmp)|*.bmp";
m_pRasterFileDlg->SelectedExt= "";
m_pRasterFileDlg->ServerApplicationName= m_strServerAppName;
m_pRasterFileDlg->ShowFilesAssociationDlg((long)this->m_hWnd);
}