I creat a CFileDialog object for browse a file.
I try to use a filter in order to focus on some file type.
Has any body have an idea?
my code look like:
m_ldFile.m_ofn.lpstrFilter = "*.hex"; m_ldFile.m_ofn.lpstrCustomFilter ;
if (m_ldFile.DoModal() == IDOK)
m_sResults = m_ldFile.GetFileName();
But it doesn't work. It shows all the files on the director and not just the "hex" files.
Thanks for your help,