Nick Kramer PRS313 Lead Program Manager Microsoft Corporation

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Brown University Swim Center
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
The Microsoft Technical Roadshow 2006 Windows Presentation Foundation (WPF) Marcus Perryman
Windows Presentation Foundation ("Avalon") Overview of Windows Vista Graphics Pablo Fernicola PRS 309 Group Program Manager Microsoft Corporation
 Jesse Kaplan Program Manager Microsoft Corporation TL34.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
4/16/2017 9:21 AM Choosing the Right Presentation Technology: Windows Presentation Foundation ("Avalon"), Windows Forms, ASP.NET, IE, and More PRS200 Michael.
Introduction & Welcome Marcus Perryman Mike Taulty
WCLCT03 Windows Vista Security and UAC Chalk Talk Russ Humphries Mike Chan.
What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd
Feature: OLE Notes Migration Utility
Session 1.
2 A First Look at Windows Presentation Foundation Everywhere ("WPF/E") Joe Stegman Lead Program Manager Microsoft Corporation.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
SharePoint 2010 Bing Maps SharePoint Online SQL Server 2008 SQL Azure.
WinHEC /22/2017 © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
PlayPlayShopShopLoveLoveHelpHelp SearchSearchComputeComputeStoreStore Pa y VirtualizeVirtualizeProvisionProvisionSecureSecure.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
1 Windows Presentation Foundation ("Avalon"): Using Application Services Lauren Lavoie PRS314 Program Manager Microsoft Corporation
NEXT: Overview – Sharing skills & code.
A Windows Azure application runs multiple instances of each role A Windows Azure application behaves correctly when.
Windows Presentation Foundation (WPF) Declare Your Next User Interface.
Robert LevyDoug Kramer Program ManagerDevelopment Lead DTL337.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
The Microsoft Technical Roadshow 2007 Rich Client Development in XAML Mark Johnston Developer & Platform Group Microsoft Ltd
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

A Lap Around Windows Presentation Foundation. Why hasn’t UX taken off in software? It’s Difficult! Animation 2D 3D Documents Styled Controls Video Windows.
DEV339: Creating Windows and Web Applications with WPF (DEV339) Ian Griffiths Independent Consultant & Pluralsight Instructor
customer.
Lap Around Windows Presentation Foundation Rob Relyea PRS305 Lead Program Manager Windows Presentation Foundation
Mike Taulty Developer & Platform Group Microsoft Ltd
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
1 Välkommen till Sommarkollo Windows Presentation Foundation Per Östman ISV Developer Evangelist
.NET Framework Presentation. About Me Patrik Löwendahl –C# MVP –Certified Vista Touchdown Trainer Cornerstone
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Sr. Dir. – Systems Architecture Inlet Technologies.
Windows Presentation Foundation. User Experience: Recent Past Web HTML Sacrificed UX for portability, connectivity and simplicity 1997 – DHTML.

TLA404 - MFC Updates for Visual Studio 2008 and Beyond Ale Contenti VC++ Libraries Dev Lead.
Daniel Moth Microsoft
DoRon Motter Development Lead Microsoft Corporation
6/10/ :23 PM TOOL-504T A deep dive into Visual Studio 11 Express for designing Metro style apps using XAML Joanna Mason & Unni Ravindranathan Program.
WebView: Bringing the web to your app
Manual testing of Windows Metro style apps built using HTML
.NET and .NET Core 7. XAML Pan Wuming 2017.
Digital display units This template is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, AS TO THE INFORMATION.
Intranet web banner units
Title of Presentation 12/2/2018 3:48 PM
Internal social media units
Silverlight Debugging
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Exploiting WinFX from Win32/MFC Applications
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Шитманов Дархан Қаражанұлы Тарих пәнінің
Windows Presentation Foundation
Title of Presentation 5/24/2019 1:26 PM
Inside the Windows 8 driver developer workflow
Presentation transcript:

Nick Kramer PRS313 Lead Program Manager Microsoft Corporation 4/24/2017 5:50 PM Windows Presentation Foundation ("Avalon"): Integrating With Your Win32/MFC Application Nick Kramer PRS313 Lead Program Manager Microsoft Corporation ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

How Do I Get There From Here? 4/24/2017 5:50 PM How Do I Get There From Here? Do I rewrite everything? Too much code to rewrite Existing plug-ins Existing controls Existing documents ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Integration! Can use WPF with existing code 4/24/2017 5:50 PM Integration! Can use WPF with existing code WPF inside existing code Existing code inside WPF Integrate at the component level Maximum richness => all WPF ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Rewrite Or Evolve? 4/24/2017 5:50 PM ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

HwndSource and HwndHost 4/24/2017 5:50 PM HwndSource and HwndHost WPF inside hwnd = HwndSource hwnd inside WPF = HwndHost Hwnds can be: Pure Win32, DirectX, MFC, GDI, GDI+, etc. ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

WPF inside hwnd HwndSource makes WPF look like a big hwnd 4/24/2017 5:50 PM WPF inside hwnd HwndSource makes WPF look like a big hwnd HwndSource source = new HwndSource(…); source.RootVisual = myWpfStuff; HWND hwnd = source.Handle; ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

4/24/2017 5:50 PM WPF inside hwnd ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

hwnd inside WPF HwndHost makes hwnd look like a WPF control 4/24/2017 5:50 PM hwnd inside WPF HwndHost makes hwnd look like a WPF control class MyHwndHost : HwndHost { override BuildWindowCore(hwndParent) { return CreateWindowEx(…); } ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

DirectX inside WPF 4/24/2017 5:50 PM ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Mixed App Considerations 4/24/2017 5:50 PM Mixed App Considerations Higher long-term cost, lower initial cost Run in browser Integrate your business logic Using XAML in C++ Airspace & layered windows ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Airspace Each pixel belongs to one hwnd Win32 WPF Win32 WPF DirectX 4/24/2017 5:50 PM Airspace Each pixel belongs to one hwnd File Edit View Help File Edit View Help Win32 WPF Win32 WPF DirectX DirectX ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Airspace – caution! Win32 WPF Win32 WPF DirectX DirectX 4/24/2017 5:50 PM Airspace – caution! File Edit View Help File Edit View Help Win32 WPF Win32 WPF DirectX DirectX ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Layered windows WPF fully supports HRGNs 4/24/2017 5:50 PM Layered windows WPF fully supports HRGNs WPF does not support layered windows (WS_EX_LAYERED) ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Mixed Application Ideas 4/24/2017 5:50 PM Mixed Application Ideas New chrome Faster canvas? New canvas ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Mixed Application Ideas 4/24/2017 5:50 PM Mixed Application Ideas Wizards and help systems Generate HTML => Generate XAML WPF wrapper around an existing control ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

4/24/2017 5:50 PM WPF inside MFC ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Summary Can use WPF with existing code Maximum richness => all WPF 4/24/2017 5:50 PM Summary Can use WPF with existing code Maximum richness => all WPF Integration is for components ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Info on hwnd integration 4/24/2017 5:50 PM Info on hwnd integration System.Windows.HwndHost System.Windows.HwndSource Article: Migration and Interop Architecture WPF newsgroup microsoft.public.windows.developer.winfx.avalon http://blogs.msdn.com/nickkramer/ nkramer@microsoft.com ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Information on C++ and managed code 4/24/2017 5:50 PM Information on C++ and managed code http://msdn.microsoft.com/visualc/ http://forums.microsoft.com/msdn/default.aspx?ForumGroupID=8 microsoft.public.vc.language http://msdn.microsoft.com/visualc/using/multimedia/newc/ http://blogs.msdn.com/nikolad/ ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Related PDC Hands-on Labs 4/24/2017 5:50 PM Related PDC Talks (PRS321) Windows Forms: Integrating Windows Forms and WPF (FUN318) Windows Vista: A Case Study Using Win32/WinFX Integration to Light-Up Your Win32 Application on Windows Vista (PRS324) WPF: Using Data in Your WPF Applications (PRS330) WPF: Creating Rich Content Experiences in Your Applications Related PDC Hands-on Labs Moving Win32 Applications to WPF Integrating MFC and Windows Forms ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

© 2005 Microsoft Corporation. All rights reserved. 4/24/2017 5:50 PM © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.