Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd http://www.danielmoth.com/Blog Products Used • Windows Vista (Vista) • Visual Studio 2005 (VS) – C#
Download ReportTranscript Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd http://www.danielmoth.com/Blog Products Used • Windows Vista (Vista) • Visual Studio 2005 (VS) – C#
Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd http://www.danielmoth.com/Blog Products Used • Windows Vista (Vista) • Visual Studio 2005 (VS) – C# Overview AGENDA • • • • • • Glass Preview Handler comctl32 v6 TaskDialog, CommonFileDialog Search Gadgets Glass 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! Managed Preview Handler Framework Preview Handlers • Outlook – Message Preview – Attachment Preview • Vista Shell Folder – Preview Pane TreeView auto scroll, Shield, cue banner, CommandLink Common Controls v6 • The basis of any Windows GUI • System.Windows.Forms – Same PMEs • ...for now! • commctrl.h VistaBridge Vista File Dialogs “friendly” address bar Quick Search box enhanced column headers: Live Icons sort, group and filter navigation buttons context-based tasks extensible Favorite Links file properties Preview Pane custom controls Task Dialog Windows Vista Desktop Search • Search is fully integrated in Windows Vista – Start Menu, Control Panel, Explorer Windows • Single, built-in, client indexing platform and a new Property System – Used by Explorer, Outlook 2007 and OneNote 2007 – Can be used by third party applications • OLE DB Provider for Windows Search • ISearchQueryHelper Windows Desktop Search OLE DB Provider for Windows Search • The provider can be used from ADO.NET – System.Data.OleDb classes • Connection string format • Query syntax Search Search Providers 3rd Party Applications Property System Query System Indexer Inverted Index & Property Cache 3rd Party Schemas System Schemas Property Handlers Image Media Property Property Handlers Handlers Protocol Handlers MAPI File Protocol Protocol Handler Handler File System MAPI Store … 3rd Party Property Handlers … 3rd Party Protocol Handler … Other Stores 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 Sidebar gadgets http://www.microsoft.com/uk/msdn/events/nuggets.aspx SideShow Sample Scenarios • Cached/Offline scenarios: Calendar, driving directions, e-mail, weather, traffic – Make use of data that is cached on a device – User can interact when the PC is on or off • Live/Online scenarios: Media control, presentation control, instant messaging, notifications – Data and events sent during user interaction – User can interact when the PC is on Software Architecture Gadget Windows SideShow API SCF Data Sources File System (e.g. pictures) Application (e.g. contacts) Web / Service (e.g. news) Inter-process communication Windows SideShow Driver Transport Channel Display Device SideShow gadgets Summary • • • • • • • Glass Preview Handler comctl32 v6 TaskDialog, CommonFileDialog Search Sidebar gadgets SideShow gadgets Resources • My blog http://www.danielmoth.com/Blog/Labels/Vista.html • Other launch resources http://www.microsoft.com/uk/launch2007/dev/useful.mspx © 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.