Hello! Here's another WindowsVista issue...

I developed a C++ program in Visual Studio 2005 w/c was compiled in a Windows XP OS. The application works properly, except that I noticed that the Open Dialog UI (CFileDialog) is different when run in Windows Vista.

In WinXP, the "Files of Type" Combo box displays all the selections when the pull down button is clicked. (combo box is expanded)

On the other hand, in WindowsVista, the combo box only displays the 1st selection even if you click the pull down button. But when you press the down arrow key in your keyboard, the other selections will be displayed one by one (e.g. All Files (*.*) ). This issue occurs when there are only 2 File types selection in the combo box. (combo box is not expanded)

I also noticed that in Windows Vista, when there are more than 2 File types in the combo box, vertical scroll bar will appear.

How can my application properly display all the selections (just like File name combo box) in Windows Vista?

Thank you.