Archive for April, 2007

April 13th 2007

C# + DWM -> pretty!

I was reading a nice, if slightly dated, set of articles about the new features in Windows Vista, including ars technica’s rundown. This article mentions that not much of the functionality avaliable in the Desktop Window Manager (Aero to everyone else) is going to be exposed to third parties, which I think it a great shame.

However, quick investigation reveals that, at least, the thumbnaling stuff has an API.

B#’s blog shows how to get at the DWM previews in .NET, and the MSDN magazine shows how to create pure glass windows.

A quick combination (and about an hour trying to work out a decent layout algorithm) gives:

I’ve actually put a FDWMlist.net binary (sig) up, for once, even though it’s generally worse than the code I normally hide. :)

Any key to refresh. Any use may invalidate your Reliability Index. You have been warned.

No Comments yet »

April 12th 2007

Updates: Dell’s 2407WFP, Vista.

Before I mentioned that my 2407 was getting terrible artifacts.

So…

It turns out they go away if you plug it into the other port on my graphics card.

Doh.

Also, I mentioned that I was using mostly Microsoft apps on Vista. Some changes:

  • Windows Media Player has been sacrificed for Foobar2000 for music, after it “removed” most of the id3 tags from my mp3 files.
    Nitpickers’ Corner: Technically, it didn’t remove the tags at all.

    • Windows Media Player (and Windows Explorer) (and, for other things, pretty much the entirety of Windows) likes things in UTF-16. Most of the files in my collection have both id3v2.3 and id3v2.4 tags.
    • The 2.4 version of the tags, having been written by Picard (which, by default, writes UTF-8 tags (which I’d have probably picked anyway)), were not acceptable to WMP.
    • In this situation, WMP reads the 2.3 version of the tags (which has some nasty limitations like, for instance, cutting off all fields at a certain length), and writes a second id3v2.4 block to the files, at the start.
    • Next time anything attempts to read the file, it’ll see WMP’s 2.4 block (containing just the 2.3 information), skip over the real 2.4 block, and see the original 2.3 block, making it look like the tags have gone, whereas they’re actually still in the file.
  • WMP is still in use for video playing, but most of it’s decoding is now assisted by ffmpeg, which is awesome.
  • IE7 has now disappeared for Opera. Yaaaay, Opera.

1 Comment »