I got a few comments regarding the Vista Demo application I blogged about so I thought I’d answer those as well as provide the source code.
>A small question: is it a 100% Vista-like user interface?
The new Vista UI introduces lots of changes not all of which are supported in Delphi 2007. Delphi 2007 is binary compatible with BDS 2006 which means some of the additional support will have to wait for a release where interface compatibility isn’t a requirement.
> gabr: could you release a full source for that?
Absolutely, here you go. Here is a screenshot of this exact same executable running on Windows XP:
The project itself has only two lines of code setting DoubleBuffered := True on the two controls located on the Glass area of the form. You can load and recompile this application in BDS 2006 and just click Ignore all to the message regarding unknown form properties (which are new in Delphi 2007). Just be sure to install the demo Shell Control components first.