[RESOLVED] MFC CFileDialog: Vista plans for Orcas?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: [RESOLVED] MFC CFileDialog: Vista plans for Orcas?

  1. #1
    Join Date
    Jun 2006
    Posts
    24

    [RESOLVED] MFC CFileDialog: Vista plans for Orcas?

    As you probably know, Vista has a brand new common File Open/Save dialog (comdlg32.dll) with a different looking places bar, and search built-in, different toolbar etc.

    MFC's CFileDialog calls GetOpenFileName/GetSaveFileName API. But on Vista, if you have specified a hook proc using OFN_ENABLEHOOK then Vista will not give you the new file open dialog. It gives you the Windows 2000/XP style file open dialog box. To get around this you can call IFileOpenDialog IFileSaveDialog COM APIs instead.

    What are the plans for CFileDialog in Orcas so a user can 1) have the benefit of Vista look and feel, and 2) not have to change much code (i.e. it just works)

    Ideally the Vista dev team will change this at the OS level so that the new style file open/save dialog can be forced using a flag even when a hook is specified (see this thread for more discussion - I'm really hoping they adopt this)

    http://forums.microsoft.com/MSDN/Sho...76268&SiteID=1

    otherwise you'll have to rewrite to use IFileDialog APIs.


    Thanks
    Ted.
    Share on Google+

  2. #2
    Join Date
    Jun 2006
    Posts
    17

    Re: MFC CFileDialog: Vista plans for Orcas?

    Easy access and automatic enablement of the new Vista common file dialog are features we'd like to enable for CFileDialog in Orcas. However, I won't say "yes, we're definitely doing it!" until we actually get to that point on the schedule and the work is done.


    Thanks,

    Steve Teixeira
    Group Program Manager
    Visual C++
    Last edited by steixeira; June 19th, 2006 at 07:13 PM.
    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center