Presentation is loading. Please wait.

Presentation is loading. Please wait.

Paul Foster Developer Evangelist Microsoft Windows 7 – Top Features for your Applications SESSION CODE: W00T!

Similar presentations


Presentation on theme: "Paul Foster Developer Evangelist Microsoft Windows 7 – Top Features for your Applications SESSION CODE: W00T!"— Presentation transcript:

1

2 Paul Foster Developer Evangelist Microsoft Windows 7 – Top Features for your Applications SESSION CODE: W00T!

3 3 Building A Great Windows 7 Application  Multitouch  Windows Ribbon  Sensors  Windows Taskbar  Libraries  Fundamentals  Version Checking  User Account Control  Removed Components Get Compatible Optimize Differentiate

4 4 Improved Fundamentals IncreaseDecrease

5 5 Agenda Agenda Subtitle The importance of looking modern TaskBar Jumplists Restart and recovery Context Aware Performance and Efficiency Sensors Location

6 The Importance of looking modern

7 7 Few Changes: Most software that runs on Windows Vista will run on Windows 7 exceptions will be low-level code (AV, Firewall, Imaging, etc.). Few Changes: Most software that runs on Windows Vista ® will run on Windows ® 7 – exceptions will be low-level code (AV, Firewall, Imaging, etc.). Hardware that runs Windows Vista well will run Windows 7 well. Few Changes: Focus on quality and reliability improvements Windows 7 Builds on Windows Vista Deep Changes: New models for security, drivers, deployment, and networking

8 8 What is Code Pack? Managed class library to access to Win 7 features Windows Shell namespace Windows Vista and Windows 7 Task Dialogs. Support for Shell property system Taskbar Jumplists, Icon Overlay and Progress bar Common file dialogs Direct3D 11.0 and DXGI 1.0/1.1 APIs Sensor Platform APIs Extended Linguistic Services APIs http://code.msdn.com/windowsAPICodePack

9 Gap filler

10 10 The New Windows 7 Taskbar Evolution of launch surfaces Clean, sleek, elegant design Enhances user productivity, making switching between windows much easier What users do most they can reach quickest Information is always present

11 11 Windows 7 Taskbar – Jump Lists Mini Start Menu for your program Access to key destinations and tasks Customizable

12 12 Destinations (“nouns”) Tasks (“verbs”) Known categories Custom categories User Tasks Taskbar Tasks Pinned category Windows 7 Taskbar – Jump Lists

13 13 Taskbar

14 14 Windows 7 Taskbar – Icons Face of your program Large and small icons Only customer can pin Color hot-track Icon Overlay Best place for notifications Appears over your program’s large icon Progress bar Best place for updates on progress Appears on your taskbar button

15 15 Windows 7 Taskbar – Thumbnails Remote-control for a window For vital commands Accessible from taskbar thumbnail Up to seven buttons

16 16 Taskbar

17 17 Windows 7 Taskbar and WPF 4 XAML support for JumpLists Supported Overlay Icons and Progress Bar JumpLists Thumbnail Toolbars Not Supported Custom thumbnail and thumbnail Preview Thumbnail clipping

18 18 Taskbar using XAML <JumpTask ApplicationPath="notepad.exe" CustomCategory="External Tools" Description="Take Notes" Title="Start Notepad" IconResourcePath="notepad.exe" IconResourceIndex="0" /> <JumpTask ApplicationPath="calc.exe" CustomCategory="External Tools" Description="Perform some calculations" Title="Start Calculator" IconResourcePath="calc.exe" IconResourceIndex="0" />

19 19 Register for Recovery Chance to save your information on another thread OS calls your code for you Register for Restart OS will run your app again (with a hint) after it dies Restart and Recovery

20 20 Restart and Recovery

21 Context Aware

22

23 X

24 24 Power Management Is the machine running on battery? What can your application do to extend battery life? Autosave less frequently Autosave before critical battery reached Scale back the user experience Graphics richness Reduce the frequency of data updates Stop spinning the CD for sound effects access Reduce CPU work loads Number of threads, thread priorities Use hardware (not software) rendering for graphics Turn off or constrain background processing Defer unnecessary tasks

25 25 Power Management

26 26 Windows Sensor and Location Platform Develop better and more productive user experiences Enable environmentally based applications Uniform APIs for working with sensors No need to target vendor-specific APIs Consistent interface for sensors, extensions for location Access control and privacy Application Sensor API Sensor Device UMDF Driver

27 27 Windows 7 Sensor Platform

28 28 Sensors

29 29 Windows 7 Location Platform Default WANGPSLookup

30 30.NET 4 Location API Default WANGPSLookup

31 31 Location API

32 32 Q2 / Q3 2010 Ver 2.0 Expanded Shell API coverage Ver 1.5 Fundamentals June 2010 Ver – 1.0.1 Bug-fixes Nov 2009 Ver - 1.0 Initial release Aug 2009 Ver - 0.9 Preview June 2009 Windows API Code Pack Roadmap

33 33 Code Pack Gets managed developers working on Windows 7 NOW WPF or Winforms C# or VB Not the only way to get there Some of this is coming in WPF (.NET 4) You could do your own interop – but why? Others have written other wrappers Documentation and samples Discussions on Code Gallery If you need to change or redistribute, you can http://code.msdn.com/WindowsAPICodePack

34 © 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.

35 35 Related Content Breakout sessions


Download ppt "Paul Foster Developer Evangelist Microsoft Windows 7 – Top Features for your Applications SESSION CODE: W00T!"

Similar presentations


Ads by Google