Butterflyor Moth Moth? Made for 2nd Graders... Project Bibliography.
Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd .
-
Upload
derrick-burker -
Category
Documents
-
view
214 -
download
0
Transcript of Windows Vista Presentation Advances Daniel Moth Developer & Platform Group, Microsoft Ltd .
Windows VistaPresentation Advances
Daniel MothDeveloper & Platform Group, Microsoft Ltdhttp://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 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
Task Dialog
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
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
Search
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
…
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 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
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
SideShow gadgets
Summary
• Glass• Preview Handler• comctl32 v6 • TaskDialog, CommonFileDialog• Search• Sidebar gadgets• SideShow gadgets
Resources
• My bloghttp://www.danielmoth.com/Blog/Labels/
Vista.html
• Other launch resourceshttp://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.