Andrew Truckle
Andrew Truckle

Reputation: 19137

CFileDialog is visually different to Visual Studio File Dialog

In Visual Studio 2015 the File Dialog used by the IDE looks like this:

File Dialog

In my MFC application, when I use a CFileDialog, example:

CFileDialog dlgImport(TRUE,
    _T(".XSL"), _T(""), OFN_ALLOWMULTISELECT | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY, strFilter, this);

My version is not the same:

MFC File Dialog

I like how the Visual Studio version shows the file type as wider control. Much neater.

How can I implement this behaviour?

Upvotes: 0

Views: 474

Answers (0)

Related Questions