Windows 7 – A developer’s Guide to Building Killer Windows 7 Applications Bijoy Singhal │ Developer Evangelist, Microsoft India.

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Identity Management - Login © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
demo Default WANGPSLookup Default WANGPS.
Feature: Payroll and HR Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Co- location Mass Market Managed Hosting ISV Hosting.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Multitenant Model Request/Response General Model.
demo.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Announcing Demo Announcing.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Connect with life
NEXT: Overview – Sharing skills & code.
demo Receive Inventory Export Parse and Normalize.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: Employee Self Service Timecard Entry © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rob Jarrett Software Design Engineer Microsoft Corporation PC23.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

Windows 7 Bijoy Singhal Developer Evangelist Microsoft India Under the hood features for developers.
customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
Paul Foster Developer Evangelist Microsoft Windows 7 – Top Features for your Applications SESSION CODE: W00T!
Feature: Void Historical/Open Transaction Updates © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
Developing with the Windows API Code Pack for.NET Framework.
Windows Azure SQL Data Sync Name Title Microsoft Corporation.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

Возможности Excel 2010, о которых следует знать
Windows 7 – Beyond the boundaries of your office
Office Mac /30/2018 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Title of Presentation 12/2/2018 3:48 PM
The Windows API Code Pack: Add Windows 7 Features to Your Application
Feature: Document Attachment - Flow from Master Records
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
WINDOWS AZURE A LAP AROUND PLATFORM THE Steve Marx
Шитманов Дархан Қаражанұлы Тарих пәнінің
The Windows API Code Pack
Title of Presentation 5/24/2019 1:26 PM
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Presentation transcript:

Windows 7 – A developer’s Guide to Building Killer Windows 7 Applications Bijoy Singhal │ Developer Evangelist, Microsoft India

Agenda Windows 7 Developer Overview Introducing the Windows API Code Pack A Lap around Windows 7 “goodness” Easy ways to “light up” your application Taskbar buttons Thumbnail toolbars Overlays and Progress Custom Thumbnails JumpLists Other Light Up scenarios

Windows 7 Developer OverView Lots of new features for development Aero, Taskbar & Desktop Libraries Sensors Multi-Touch DirectX including DirectWrite and Direct2D App Restart & Recovery And much, much more…

The Windows API Code Pack for.NET Windows Platform SDK – for native code Windows API Code Pack – for managed code – Gives access to most of the features in Win7 – Full source code available – Current version: 1.1 – All features degrade gracefully on older Windows – Tons of samples in the package – Get

Windows API Code Pack Structure Consists of a number of projects for different items – Core: Consists of core services like network, power, app recovery service, property system etc. – Shell: Works with the UI – aero, taskbar, controls, common dialogs and more… – DirectX: allows.NET apps to use D2D, D3D & DW – Sensors: to use light, motion and position Lighting up apps is very easy with Core & Shell

Windows 7 UI Design Goals Clean, noise-free & simple Single launch surface for most used apps and files Get to information faster without needing to “switch” to application User has control on apps, desktop, icons

“Light Up” Features for Free! Apps running on Win7 get some light up features for free – Aero Peek – Aero Snap – Aero Shake – Taskbar Fixed Positioning – Mouse Hot Tracking

Demo Aero Peek Aero Snap Aero Shake Taskbar Positioning Mouse Hot Tracking

Light Up Feature I: Aero Glass Add Aero Glass forms to your app Detect availability of Aero Option to turn off Aero as well WACP Code public partial class Form1 : GlassForm

Demo Making a WinForm Glassy

Light Up Feature II: Application ID Configures application taskbar button grouping Default is program name Scenarios to customize – Single app, multiple icon – Multiple apps, single icon WACP Code TaskbarManager Taskbar = TaskbarManager.Instance; Taskbar.ApplicationId = “MyAppName”;

Demo Application ID TaskBar Button Grouping

Light Up Feature III: Overlay Icons Add icon overlay to application icon Use to display “state” of application Makes icon the place to view WACP Code TaskbarManager Taskbar = TaskbarManager.Instance; Taskbar.SetOverlayIcon(SystemIcons.Asterisk, “My Status");

Demo Overlay Icons

Light Up Feature IV: Taskbar Progress Show progress bars in application icon Multiple progress states to show running status Can only show one progress bar at a time WACP Code TaskbarManager Taskbar = TaskbarManager.Instance; Taskbar.SetProgressState(TaskbarProgressBarState.Normal); Taskbar.SetProgressValue(CurrentValue, MaximumValue);

Demo Taskbar Progress

Light Up Feature V: Thumbnail Toolbars Allow interacting with application from thumbnail Add up to 7 buttons in thumbnail Cannot remove buttons, but can hide WACP Code ThumbnailToolbarButton btn = new ThumbnailToolbarButton(Icon, “Tooltip”); btn.Click += new EventHandler (btn_Click); Taskbar.ThumbnailToolbars.AddButtons(this.Handle, btn);

Demo Thumbnail Toolbars

Light Up Feature VI: Thumbnails Clipping Sometimes the default thumbnail is not good enough Display the most important part of the window Can reset back to full window WACP Code Taskbar.TabbedThumbnail.SetThumbnailClip(WindowHandle, Rectangle);

Demo Thumbnail Customizing with Clipping

Light Up Feature VII: Jump Lists Mini Start menu for each application Consists of: – Categories – Tasks – Destinations – Recent, Frequent & Pinned items Registered extensions are automatically handled WACP Code – next slide

Jump Lists WACP Code // Declare and instantiate JumpList jl; jl = JumpList.CreateJumpList(); // Show from Recent, Frequent or None. (Pinned is auto) jl.KnownCategoryToDisplay = JumpListKnownCategoryType.Recent; // Add task jl.AddUserTasks(new JumpListLink(Path), “My Task"){Icon} jl.AddUserTasks(new JumpListSeparator()); // Add category JumpListCustomCategory c1 = new JumpListCustomCategory("Documents"); jl.AddCustomCategories(c1); // Add Destination c1.AddJumpListItems(new JumpListItem(PathToFile)); // Refresh jl.Refresh();

Demo Jump Lists Tasks Categories Destinations Known Types Recent Frequent Pinned

Light Up Feature VIII: Sensors Many different types of sensors in Windows 7 – Light – Accelerometer – Location WACP Code (sample) SensorList sl = SensorManager.GetSensorsByTypeId ( ); SensorManager.SensorsChanged += new SensorsChangedEventHandler(S_Changed);

Demo Working with Sensors WACP Sample – Accelerometer WACP Sample - AmbientLight

Summary Windows 7 is a developer’s delight Tons of new stuff that you can add to your apps The Windows API Code Pack lets you get these features in.NET apps very easily The easiest way to get your app to light up on Windows 7 is to use the Taskbar and UI features

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