1 / 31

Microsoft Visual Studio: Building Applications With MFC

PC26. Microsoft Visual Studio: Building Applications With MFC.  Damien Watkins Program Manager Microsoft Corporation. Agenda. Agenda Visual C++ Strategy MFC Specifically Major MFC additions in Visual Studio 2008 SP1 Upcoming MFC additions Summary Objectives

gibson
Download Presentation

Microsoft Visual Studio: Building Applications With MFC

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PC26 Microsoft Visual Studio: Building Applications With MFC  Damien Watkins Program Manager Microsoft Corporation

  2. Agenda • Agenda • Visual C++ Strategy • MFC Specifically • Major MFC additions in Visual Studio 2008 SP1 • Upcoming MFC additions • Summary • Objectives • Understand Visual C++ strategy and direction • Recognize our commitmentto enhance MFC(and other native) libraries

  3. Visual C++ Strategy • Enable developer success on Microsoft platforms by providing world-classnative tools • Our customers care about: • Investment • Scalability • Compliance • Interoperability

  4. Halloween Myth MFC

  5. MFC Developers Want • Applications to look and feel like Windows/Office applications • Goal is to provide a smooth and easypath to platform technologies • The ability to customize functionality is vital

  6. MFC First Step: Visual Studio 2008 SP1 • Modernized MFC • Ribbon Bar (Office 2007 Look & Feel and Visual Studio) • Visual Manager • Improved floating and docking panes • New Controls • TR1 (“Technical Report 1”) • shared_pointer • Regular expression parsing • New Containers (tuple, array,unordered set, etc.)

  7. demo Visual Studio 2008 SP1MFC Office 2007Look & Feel

  8. As Easy As …

  9. Visual Studio 2008 SP1 MFCThe new picture G Application Architecture GUI Support General Purpose NEW! Exceptions CWinApp Frames Visual Manager Tabbed MDI Control Bars File Services Office Ribbon Doc/View Dialogs ToolBar, Menu Database Support Docking Panes Views Common Dlgs OLE Support Window Controls Common Controls Containers New Controls GDI Support More…

  10. Ribbon • Designed to be easily customizableand extendable CMFCRibbonApplicationButton CMFCRibbonQuickAccessToolBar CMFCRibbonCategory CMFCRibbonBar CMFCRibbonPanel CMFCRibbonColorButton CMFCRibbonButton

  11. MFC Second Step: Visual Studio 2010 • Application Recovery and Restart Manager • Task Dialog • Live Icons & Rich Preview • Taskbar • Windows ScenicRibbon • D2D • DPI Awareness

  12. Application RecoveryAnd Restart Manager • Update your MFC applications seamlessly • Automatic backup and recovery of user documents • Provide error recovery mechanism for unexpected crashes

  13. demo Visual Studio 2010Restart Manager

  14. Live Icon And Rich Preview • Live Icons show an icon based onthe contents of a file • Rich Preview provides a richeruser experience

  15. Live Icons And Rich Preview

  16. Windows 7 Taskbar • Jump Lists • Recent Category (get by default) • APIs for • Frequent Category • Custom Categories and User Tasks • Thumbnail previews for tabbed documents • Overlay Icons • Progress Bar

  17. demo Visual Studio 2010Taskbar

  18. The Ribbon LandscapeSoftware vendors have diverse needs • Goal: Enable a range of apps to use Ribbons • Future Plans: • Markup for MFC Ribbon • Designer tools WPF MFC Scenic Target: Managed Target: MFC Native Target: Native Needs .NET 3.5 Win2k or newer Vista or newer Office 2007 and Windows Style Office 2007 and Windows Style¹ WindowsVisual Style Coming Soon.. Official Release in 2009 Available now in Visual Studio 2008 SP1 Coming Soon… Ships with Windows 7 Microsoft’s Ribbon Strategy 1 Office 2007 style available now,  Windows style available 2009

  19. demo Visual Studio 2010Ribbon Support

  20. D2D • 2D vector graphics, bitmaps and text • Hardware accelerated on graphics card • Software fallback (CPU) – but still faster than GDI • Interoperates with GDI, D3D • Built on Direct3D 10.1

  21. demo Visual Studio 2010D2D

  22. DPI Awareness • Matching the hardware and OS resolutions provides the highest fidelity experience • However as the resolution increases screen elements become smaller • The solution is to make your applications DPI aware

  23. DPI Awareness

  24. Summary • Visual C++: Enabling developer success on Microsoft Platforms is our goal • MFC: Providing quick access to new platform functionality via the MFC Framework is a cornerstone of our plan

  25. PDC Related Talks: Concurrency • Visual C++ • Microsoft Visual C++: 10 Is the New 6 • Parallel runtime and libraries • Concurrency Runtime Deep Dive: How to Harvest Multicore Computing Resources • Parallel Symposium: Addressing the Hard Problems with Concurrency • Parallel Programming for C++ Developers in the Next Version of Microsoft Visual Studio

  26. PDC Related Talks: Windows 7 • Windows 7 • Windows 7: Integrate with the Windows 7 Desktop • Windows 7: Developing Multi-touch Applications • Windows 7: New APIs to Find, Visualize, and Organize • Windows 7: Unlocking the GPU with Direct3D • Windows 7: Web Services in Native Code • Windows 7: Welcome to the Windows 7 Desktop • Windows 7: Writing Your Application to Shine on Modern Graphics Hardware

  27. Resources • VC Team Blog: http://blogs.msdn.com/vcblog • C++ Channel9 Videos: http://channel9.msdn.com/tags/C++/ • VC++ MSDN: http://msdn.microsoft.com/en-us/visualc/default.aspx • VC++ MSDN Forums: http://social.msdn.microsoft.com/Forums/en-US/category/visualc/

  28. Evals & Recordings Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com

  29. Q&A Questions?

  30. © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related