c++ - Custom CFileDialog in visual studio 2013 (MFC) -


i porting 1 of our applications vs 2005 vs 2013. in application customized cfiledialog dialog in way:

    class cfilestart : public cfiledialog      ...     int_ptr cfilestart::domodal ()     {         m_ofn.lptemplatename = makeintresource( idd_start );         m_ofn.flags |= ofn_enabletemplate;         m_ofn.hinstance = afxgetinstancehandle ();         return cfiledialog::domodal ();     } 

it uses works fine visual studio 2005 doesn't work on vs2013. idea ? thanks.

i fixed problem passing false bvistastyle in cfiledialog constructor.


Comments