Windows 7 Code Pack V. 1.0 Released
The Windows® API Code Pack for Microsoft® .NET Framework provides support for various features of Windows 7 and previous releases of that operating system. The Code Pack has reached version 1.0 and has been published on Code Gallery:
Here are some of the features you can from managed code using the Code Pack:
- Windows 7 Taskbar Jump Lists, Icon Overlay, Progress Bar, Tabbed Thumbnails, and Thumbnail Toolbars.
- Windows 7 Libraries, Known Folders, non-file system containers.
- Windows Shell Search API support, a hierarchy of Shell Namespace entities, and Drag and Drop functionality for Shell Objects.
- Explorer Browser Control.
- Shell property system.
- Windows Vista and Windows 7 Common File Dialogs, including custom controls.
- Windows Vista and Windows 7 Task Dialogs.
- Direct3D 11.0, Direct3D 10.1/10.0, DXGI 1.0/1.1, Direct2D 1.0, DirectWrite, Windows Imaging Component (WIC) APIs. (DirectWrite and WIC have partial support)
- Sensor Platform APIs
- Extended Linguistic Services APIs
- Power Management APIs
- Application Restart and Recovery APIs
- Network List Manager APIs
- Command Link control and System defined Shell icons.
Comments
Anonymous
August 08, 2009
Does this also contain a managed Ribbon UI contro included?Anonymous
August 08, 2009
We've been waiting for this. So far Win7 RTM seems rock solid and for .NET developers this code pack is pure gold.Anonymous
August 08, 2009
The Ribbon UI isn't included in this library (probably a future addition). However, there is a WPF version (in .NET 4.0 I think), which is not the same as the native Win7 Ribbon APIs.Anonymous
August 09, 2009
Charlie, This is great news. I've got a couple questions: Will this be part of the .NET 4.0 framework library? And, will it run with VS2010 Beta 1?Anonymous
August 09, 2009
This won't be part of the .NET framework 4.0. As far as VS2010 Beta 1, the core library seems to work and build without any changes. The DX library/samples might have some issues building.Anonymous
August 09, 2009
Is there any multitouch support? where can download WPF multitouch package?Anonymous
August 09, 2009
No multitouch in the 1.0 release of code pack. Probably a future release addition... I did a quick search and these seem promising (WPF / Multitouch) http://blog.wpfwonderland.com/2009/06/29/developing-win-7-multi-touch-apps-without-multi-touch-screen/ This one using the native APIs directly (p/invoke) http://blog.andreweichacker.com/2009/02/windows-7-multi-touch-using-wpf/Anonymous
August 17, 2009
The comment has been removedAnonymous
August 17, 2009
The comment has been removedAnonymous
August 19, 2009
Are there any useful functions available in XP (despite the OS checks)? I did not find any, every sample crashes on startup, doesn't find interfaces/GUIDs or just does not do anything.Anonymous
August 20, 2009
I think some of the PowerManagement APIs will work on XP. You can probably verify which method by looking at PowerManager.cs... Rest of the features are Vista/Win7. I think the code pack is officially supported on Windows 7 and Vista only. The purpose is to light up the applications on these OSs. Apps could use the platform checks or System.Envionment.OSVersion to make sure these aren't used on XP (if the app runs on XP and Vista/Win7).Anonymous
August 25, 2009
you might want to check out http://code.msdn.microsoft.com/WindowsTouchAnonymous
April 29, 2010
I also have a couple of new posts regarding multitouch using WPF 4.0. http://blog.andreweichacker.com/2010/04/wpf-4-0-multitouch-touch-points/ and http://blog.andreweichacker.com/2010/04/wpf-4-0-multitouch-manipulation/