locked
WinRT in compatible desktop applications

    Question

  • Our Team is deciding what interface to use for C++ UI development in a
    desktop CAD application and because there is not enought information about
    WinRT we cannot directly choose or decline using this new API. 
    Could you (Microsoft) please give me answers to the following two questions?
    
    1) Is it possible to develop desktop MDI applications with dialog windows
    using exclusively WinRT+XAML (without Win32 API)?
    
    2) Will there be any backward compatibility workaround for applications
    using WinRT to run on Windows 7 and eventually Windows XP?
     
    Thank you in advance.
    • Moved by Keith-Microsoft Support Wednesday, October 19, 2011 3:24 PM (From:Windows Developer Preview: General OS questions )
    Tuesday, October 18, 2011 7:04 AM

Answers

  • Hi Jakub,

    The WinRT API is targetted for Metro style apps, not for desktop apps.  To write a desktop app you'll use the existing desktop APIs (Win32, MFC, WPF, etc.)

    --Rob

    Wednesday, October 19, 2011 6:01 PM
    Owner
  • Hi Jakub,

    To answer your questions:

    1. No, you cannot write MDI applications with dialogs directly in WinRT+XAML.  If you use these technologies, you will need to create a Metro style user interface.

    2. Metro style applications require the infrastructure and capabilities that are built into Windows 8.  Previous Windows versions don't have this and thus can't support Metro style applications.

    Here's an overview that you, as an experienced Windows developer may find helpful with your planning:  http://msdn.microsoft.com/en-us/library/windows/apps/hh464912(v=VS.85).aspx.

    Sincerely,

    Dan

    Wednesday, October 26, 2011 10:10 PM
    Moderator

All replies

  • Hi Jakub,

    The WinRT API is targetted for Metro style apps, not for desktop apps.  To write a desktop app you'll use the existing desktop APIs (Win32, MFC, WPF, etc.)

    --Rob

    Wednesday, October 19, 2011 6:01 PM
    Owner
  • Hi Jakub,

    To answer your questions:

    1. No, you cannot write MDI applications with dialogs directly in WinRT+XAML.  If you use these technologies, you will need to create a Metro style user interface.

    2. Metro style applications require the infrastructure and capabilities that are built into Windows 8.  Previous Windows versions don't have this and thus can't support Metro style applications.

    Here's an overview that you, as an experienced Windows developer may find helpful with your planning:  http://msdn.microsoft.com/en-us/library/windows/apps/hh464912(v=VS.85).aspx.

    Sincerely,

    Dan

    Wednesday, October 26, 2011 10:10 PM
    Moderator