windows vista presentation advances daniel moth developer & platform group, microsoft ltd
TRANSCRIPT
![Page 1: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/1.jpg)
Windows VistaPresentation Advances
Daniel MothDeveloper & Platform Group, Microsoft Ltdhttp://www.danielmoth.com/Blog
![Page 2: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/2.jpg)
Products Used
• Windows Vista (Vista)
• Visual Studio 2005 (VS)– C#
![Page 3: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/3.jpg)
Overview
![Page 4: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/4.jpg)
AGENDA
• Glass• Preview Handler• comctl32 v6 • TaskDialog, CommonFileDialog• Search• Gadgets
![Page 5: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/5.jpg)
Glass
![Page 6: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/6.jpg)
Glass
• Helps user focus on the “important” area• Free, in non-client areas• In client areas
– Extend it inwards from any side– Paint it black– Arbitrary regions– WPF even easier
• Don’t abuse it!
![Page 7: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/7.jpg)
Managed Preview Handler Framework
![Page 8: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/8.jpg)
Preview Handlers
• Outlook– Message Preview– Attachment Preview
• Vista Shell Folder– Preview Pane
![Page 9: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/9.jpg)
TreeView auto scroll, Shield, cue banner,
CommandLink
![Page 10: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/10.jpg)
Common Controls v6
• The basis of any Windows GUI
• System.Windows.Forms– Same PMEs
• ...for now!
• commctrl.h
![Page 11: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/11.jpg)
VistaBridge
![Page 12: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/12.jpg)
Vista File DialogsQuick Search box
extensibleFavorite Links
file properties
navigation buttons
context-based tasks
“friendly” address bar enhanced column headers: sort, group and filter
Live Icons
Preview Pane
custom controls
![Page 13: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/13.jpg)
Task Dialog
![Page 14: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/14.jpg)
Windows Vista Desktop Windows Vista Desktop SearchSearch
• Search is fully integrated in Windows VistaSearch is fully integrated in Windows Vista– Start Menu, Control Panel, Explorer WindowsStart Menu, Control Panel, Explorer Windows
• Single, built-in, client indexing platform and Single, built-in, client indexing platform and a new Property Systema new Property System– Used by Explorer, Outlook 2007 and Used by Explorer, Outlook 2007 and
OneNote 2007OneNote 2007– Can be used by third party applicationsCan be used by third party applications
• OLE DB Provider for Windows SearchOLE DB Provider for Windows Search• ISearchQueryHelperISearchQueryHelper
![Page 15: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/15.jpg)
Windows Desktop SearchWindows Desktop SearchOLE DB Provider for Windows SearchOLE DB Provider for Windows Search
• The provider can be used from The provider can be used from ADO.NETADO.NET– System.Data.OleDb classesSystem.Data.OleDb classes
• Connection string formatConnection string format• Query syntaxQuery syntax
![Page 16: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/16.jpg)
Search
![Page 17: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/17.jpg)
Search Providers
File System
MAPIStore
Other Stores
Property System
3rd PartySchemas
SystemSchemas
Property Handlers
3rd PartyPropertyHandlers
ImagePropertyHandlers
MediaPropertyHandlers
…
…
Indexer
InvertedIndex&PropertyCache
Query System
3rd Party Applications
Protocol HandlersFileProtocolHandler
MAPIProtocolHandler
3rd PartyProtocolHandler
…
![Page 18: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/18.jpg)
Gadgets for Windows Sidebar• “Gadget”
– Lightweight and task-specific applet• Sidebar is a container for gadgets
and more– Manager, Picker, Installer, Host
• Developer model– HTML + Script
• Installed to the local machine– “c:\users\ … \gadgets”– Packaged (Folder, Zip, CAB)
• Manifest, HTML file, HTML settings
![Page 19: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/19.jpg)
Sidebar gadgets
http://www.microsoft.com/uk/msdn/events/nuggets.aspx
![Page 20: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/20.jpg)
SideShow
![Page 21: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/21.jpg)
Sample ScenariosSample Scenarios
• Cached/Offline scenarios: Calendar, driving Cached/Offline scenarios: Calendar, driving directions, e-mail, weather, trafficdirections, e-mail, weather, traffic– Make use of data that is cached on a deviceMake use of data that is cached on a device– User can interact when the PC is on or offUser can interact when the PC is on or off
• Live/Online scenarios: Media control, Live/Online scenarios: Media control, presentation control, instant messaging, presentation control, instant messaging, notificationsnotifications– Data and events sent during user interactionData and events sent during user interaction– User can interact when the PC is onUser can interact when the PC is on
![Page 22: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/22.jpg)
Software ArchitectureSoftware Architecture
Windows SideShow APIWindows SideShow API
GadgetGadget
Windows SideShow DriverWindows SideShow Driver
Display DeviceDisplay Device
Inter-process communicationInter-process communication
Transport ChannelTransport Channel
Data SourcesData Sources
File System (e.g. File System (e.g. pictures)pictures)
Application (e.g. Application (e.g. contacts)contacts)
Web / Service (e.g. news)Web / Service (e.g. news)SCF
![Page 23: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/23.jpg)
SideShow gadgets
![Page 24: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/24.jpg)
Summary
• Glass• Preview Handler• comctl32 v6 • TaskDialog, CommonFileDialog• Search• Sidebar gadgets• SideShow gadgets
![Page 25: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/25.jpg)
Resources
• My bloghttp://www.danielmoth.com/Blog/Labels/
Vista.html
• Other launch resourceshttp://www.microsoft.com/uk/launch2007/dev/
useful.mspx
![Page 26: Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd](https://reader035.vdocuments.mx/reader035/viewer/2022062620/551b0e7f55034607418b51b6/html5/thumbnails/26.jpg)
© 2006 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.