Windows 7 For Developers

58

Transcript of Windows 7 For Developers

Page 1: Windows 7 For Developers
Page 2: Windows 7 For Developers

Windows 7 for DevelopersSachin V. RathiArchitect Advisor, Microsoft Corp.http://blogs.msdn.com/sachinrathi

Page 3: Windows 7 For Developers

Who Am I?

An Avid Gamer

An Architect

A user/consumer/producer

Page 4: Windows 7 For Developers

Welcome!

Page 5: Windows 7 For Developers

Servers

Devices

Mobile

Netbooks/Nettops

World We Live In

PCs

Surface

Consumer Messaging

Social Networking Work

Games Videos Internet

Photos

TV & Movies

Page 6: Windows 7 For Developers

What Makes Windows 7 Great?

Fundamentals

Taskbar

Libraries

Multi Touch

Ribbon

Sensor and Location

Graphics

Page 7: Windows 7 For Developers

1. Fundamentals

Page 8: Windows 7 For Developers

Avoid Unnecessary Churn: 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

Page 9: Windows 7 For Developers

Solid Foundation

MemoryReference set, graphics

Disk I/ORegistry reads, indexer

PowerDVD playback, panel, Timers

SpeedFaster bootDevice ready

ResponsivenessStart menu, Taskbar

Scale256 processors

IncreaseDecrease

Page 10: Windows 7 For Developers

Windows API Code Pack

Managed class library to ease .NET access to Windows 7 features

Shell, Libraries, Taskbar, Sensor, Graphics, Multi Touch, UAC, Power management, Restart and recovery, Network awareness, Aero Glass and more.

http://code.msdn.microsoft.com/WindowsAPICodePack

Page 11: Windows 7 For Developers

Windows API Code PackDemo

Page 12: Windows 7 For Developers

2. Taskbar

Page 13: Windows 7 For Developers

Windows 95

Page 14: Windows 7 For Developers
Page 15: Windows 7 For Developers
Page 16: Windows 7 For Developers

Areas for Improvement

Page 17: Windows 7 For Developers
Page 18: Windows 7 For Developers
Page 19: Windows 7 For Developers
Page 20: Windows 7 For Developers
Page 21: Windows 7 For Developers
Page 22: Windows 7 For Developers
Page 23: Windows 7 For Developers
Page 24: Windows 7 For Developers

Which is the right Notepad?

Page 25: Windows 7 For Developers

Windows 7 TaskbarJump Lists Thumbnail Toolbars Custom SwitchersIconsOverlay IconsProgress Bars

Enhanced user experienceQuick and easy launch of applicationsEasier to manage windows The user is in controlClean and lightweightStandard Windows UX guidelines

All of Microsoft’s products

Page 26: Windows 7 For Developers

Face of your programLarge and small iconsOnly customer can pinColor hot-track

Windows 7 Taskbar – Icons

Icon OverlaySurface important notificationsAppears over your program’s icon

Progress barSurface important notificationsAppears in your taskbar button

Page 27: Windows 7 For Developers

Mini Start Menu for your programSurface key destinations and tasksCustomizableAccessible via right-click and via drag

Windows 7 Taskbar – Jump Lists

Page 28: Windows 7 For Developers

Windows 7 TaskbarDemo

Page 29: Windows 7 For Developers

3. Libraries

Page 30: Windows 7 For Developers

Windows Explorer

Massive growth in digital content

Users demand powerful and intuitive tools to custom visualization, search, organize and browse

Two primary ways for finding data:Browse by location, context, visual cuesSearch by name, metadata and full-text

Page 31: Windows 7 For Developers

Rich Metadata

Cleaner navigation

Easy Previews

Powerful Instant SearchArrangement Views

Federated Search

Libraries

Windows 7 Explorer

Page 32: Windows 7 For Developers

Libraries

Page 33: Windows 7 For Developers

Supporting and Using LibrariesYour application should:

Support open and save in librariesSelect and consume library contentsStay in sync with library locations

e.g. Windows Media Player

The Windows 7 enables this via:Common File Dialog

Native: IFileDialogManaged: System.Windows.Forms.FileDialog

Shell abstractions (i.e. IShellFolder)New Library API to manage libraries

Page 34: Windows 7 For Developers

Be Library Aware

Page 35: Windows 7 For Developers

Federated SearchConsistent experience across providers

Document Repository

Enterprise Data Store

Enterprise Application

Page 37: Windows 7 For Developers

4. Multi-touch

Page 38: Windows 7 For Developers

Multi - Touch Is HereMT is defined as two or more independently traceable touch pointsConsumers

MT scored very favorably in user testingProven successful touch interfacesMulti-Touch offers clear differentiation with a high “WOW” factor for consumersMulti-touch enhances on-the-go use and enable new scenarios

HardwareMulti-touch capable machines in market today in a broad set of form factors

Page 39: Windows 7 For Developers

Multi TouchDemo

Page 40: Windows 7 For Developers

5. Ribbon

Page 41: Windows 7 For Developers

Windows Ribbon

Proven and very successful UX conceptImprove usability and discoverability Increase user productivity

Improve developer productivityBased on common architectural Eliminate much of Win32 UI development

Page 42: Windows 7 For Developers

Application Menu

Quick Access Toolbar

Tab Contextual Tab Set

Contextual Tab

Help

Group (aka “Chunk”)

Dialog Launcher

In-box with Windows 7, redistribution available to VistaWin32 API, Feature parity (or close) with Microsoft Office 2007 Ribbon, and WPF Ribbon

Windows Ribbon

Page 43: Windows 7 For Developers

Categorized Menus

Tabs & Groups

Color Pickers

Mini Toolbar &Contextual Menu

Dropdown GalleriesTooltips

Check Boxes

Spinners

Font Control

Group Dialog Launchers

“In-Ribbon” Galleries

Combo Boxes

Buttons & Split Buttons

Windows Ribbon - Controls

Page 44: Windows 7 For Developers

Ribbon ControlDemo

Page 45: Windows 7 For Developers

6. Sensors and Location

Page 46: Windows 7 For Developers

Sensor And Location Platform

Provides unified driver model for all types of sensor devices

Physical sensors (e.g. Motion, GPS, Light Sensors)Logical sensor (e.g. Wi-Fi triangulation, IP resolver)

Provides standard APIs for accessing sensorsSensor API: C++/COM / Managed codeLocation API: C++/COM, IDispatch Managed code

Page 47: Windows 7 For Developers

7. Graphics

Page 48: Windows 7 For Developers

Direct2D

Direct3D Segoe UIDirectWrite

DXVA & WIC

Graphic ImprovementsWindows 7 DWM memory consumption is cut by 50% per windowTake advantage of the GPU’s computation powerHigh-DPI support & High ColorGreat interoperability across technologies

Page 49: Windows 7 For Developers

Graphics Improvements in Windows 7Demo

Page 50: Windows 7 For Developers

Virtual Windows XP

Application Compatibility - LabPre-configured Windows XP VHD imageUSB Support New Windows 7 style UISeamless Applications

Page 51: Windows 7 For Developers

Virtual Windows XPDemo

Page 52: Windows 7 For Developers

What’s New in Windows 7 RCImproved taskbar thumbnail overflowMax cap on Jump Lists itemsControl Panel Jump List New folder is always availableIntelligent re-indexing after application installationUSB device reliability on resumeFireWire camera supportAdd Legacy Hardware functionality restoredCustom theme improvementsTurning Windows Features On

or OffVirtual Windows XPWindows Logo Self Test ToolsMulti-touch PackSDK: 132 new samples, 80% content refresh, 5 new toolsWindows API Code Pack

Page 53: Windows 7 For Developers

More Developer TechnologiesPowerShell 2.0Device Experience PlatformMSI 5.0Media FoundationMulti CoreWindows Connectivity Platform Windows AnimationXPS Documents Windows Biometric FrameworkWindows Web Services.NET 3.5 SP1

Page 54: Windows 7 For Developers

Call to ActionWindows 7 Application Compatibility Lab !!!Demo Extravaganza……Optimize for Windows 7

Use Windows 7 new Taskbar & jump listsBecome library aware

Manage files & data with libraries

Create next generation software:Develop for Multi-Touch Use the Ribbon were appropriateEnhance User Experience with Sensor and LocationAdopt the new DirectX Graphic APIs

Page 55: Windows 7 For Developers

Windows 7 Readiness ProgramsMake sure your applications work with Windows 7

Join the Windows 7 Ecosystem Readiness programAllow MS to tell our customers about your Apps

Publish your support policy for Windows 7List your solutions on the Compatibility Center

Get the Windows 7 LogoFocused on Compatible ApplicationsSimple Process – No 3rd party testing required

Page 56: Windows 7 For Developers

धन्यवा�दઆભા�ર ধন্য�বা�দ

ਧੰ�ਨਵਾ�ਦ

ଧନ୍ୟ�ବା�ଦ

நன்றி�

ధన్య�వాదాలు� ಧನ್ಯ�ವಾ�ದಗಳು

നി�ങ്ങള്‍‌ക്ക്� നിന്ദി�

Page 58: Windows 7 For Developers

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