XPCC / XP Common Controls

{project:XPCC / XP Common Controls}

(You will find more info on my original website at http://www.steepvalley.net)

When I was starting to develop in VS.net I wanted that nice XP-Look for all of my programs. The problem is, that Visual Studio shipped without most of them. The most missed controls where the Taskbox/Taskbar control and the Grouped ListView Contol.

I ran into implementations of some of the controls on the internet (namely vbAccelerator and the TaskVision Sample on http://www.windowsforms.net) and into a document provided by Microsoft named "Windows XP Design Guidelines". This document provides detailed information on some of the new controls and I started to recreate some of these controls for VS.net (with hints and help from the sites mentioned above - thank you again!)

The one feature I wanted to have with the XP Controls was theming. But since it always needed some direct dll calls to uxtheme.dll I wrote my own theming dll. This has some positive and some negative effects.

Positive:
It runs on any OS that supports the .net-Framework; means it will run on non-XP Systems like Win95 and Win2000. That said, I must also tell you that the theme listener and the grouping and tiling of the XPListGroup won’t work without Win XP.
I didn’t have to write a lot of API-calls ;-)

Negative:
If Microsoft introduces a new theme or you download one from the internet, the controls will not support this one until it’s hardwired into the code.
As a workaround for the negative part I have exposed all properties of the theming formats to the IDE so you can define any combination of formats you want.

The collection of controls grew over time and include now balloon tips, cue banners, a textbox provider, panes, ...
The newest addition are the Windows Forms Stylesheet (a separate project before) that will allow you change properties of your forms and controls at runtime, based on a xml definition file (similar to CSS in HTML).

New Book "Windows Developer Power Tools" Out Now

I'm proud to anounce that the XP Common Controls are part of the newly released book "Windows Developer Power Tool" by James Avery and Jim Holmes. This book contains references to over 170 free and open source tools, components and frameworks, all of them coming with a mini user's guide.

Please check out their homepage at http://www.windevpowertools.com or buy the book here: http://www.amazon.com/exec/obidos/ASIN/0596527543/infozerk-20 - it will save you a lot of time and money when creating your next .net project.

My thanks to Jim and James for asking me to contribute to this book.

Release 2.0.0.1

The new interim release includes the new namespace Steepvalley.Windows.Forms.Login that mimics some Login Features of Windows XP. The namespace includes a Login Control and a LoginList Control. While the single Login Control supports Authenticating and Authenticated Events for one user, you can use the Listcontrols for managing a group of users. You will receive the currently selected user, password and other info in the related Authenticating and Authenticated events. There is a small sample code included but I will publish a detailed documentation shortly.

Last edited May 8, 2007 at 6:56 AM by steepvalley, version 12