2
Comments

Presenting PresentationHost by aelij

I always prefer simpler solutions. The solution I proposed on my previous post was not that simple, and was not complete. It may still be useful for other stuff, but for the purpose of preserving ClearType while using DWM, I just have to admit it has...
Filed under: , , , ,
1
Comments

Casper to the Rescue! by aelij

WPF has ClearType issues . Hopefully some of them will be solved in the upcoming .NET 4.0. Meanwhile, however, I have concocted a nifty solution to one of the scenarios – placing stuff on the Aero Glass DWM frame. When you extend the DWM frame in...
Filed under: , , , , ,
1
Comments

Normality Restored by aelij

The past 24 hours have been a blogger’s nightmare for me. I wanted to upgrade my GoDaddy’s hosting account to IIS 7. Unfortunately, they do not have any upgrade option, so you have to call their customer service, cancel your current hosting...
Filed under: , , ,
1
Comments

Theme Manager: A Hackly Hack by aelij

One of the most popular posts in this blog is the one explaining how to override the system theme and get the Vista look on non-Vista systems. This is possible because WPF ships with the theme files for all operation systems (well, all Microsoft OSs that...
0
Comments

New Release of WPF Contrib by aelij

I've released a new version of WPF Contrib (October 2008, although it's released in November. I changed the release name a few times, so I decided to leave it like that. I'm only late by a few days. :) It contains quite a few fixes and new...
0
Comments

Activator 2: XAML and Generics Day by aelij

First of all, you didn't miss part one. Just thought it was a funny reference . I'm currently working on a new release of WPF Contrib . In my TaskDialog class, I used a few classes I derived from ItemsControl (which I'm considering deleting in this version...
Filed under: , ,
0
Comments

License by aelij

I've added a license page to my blog. As indicated there, all code (unless noted otherwise) is released under the MIT license .
Filed under:
1
Comments

Improper use of InteropBitmap can cause a memory leak by aelij

I've been using InteropBitmap in my GdiTextBlock . The control creates a new GDI+ Bitmap every measure pass, which it then converts to a WPF BitmapSource using the Imaging.CreateBitmapSourceFromHBitmap() method (this method returns an InteropBitmap)....
Filed under:
0
Comments

Shady Pixels by aelij

In my previous post I mentioned the new Zune 3.0 visualizations. I really liked them, so I decided to try and create them using WPF's new (3.5 SP1) Effects. A while ago I wrote about BitmapEffects, and why you should try to avoid them. Effects replace...
Filed under:
2
Comments

In the Zune by aelij

I'm loving the new Zune 3.0 client software. V1 was terrible. Just an ugly version of Windows Media Player. V2 was completely rewritten using a Microsoft internal platform called UIX, which is based on Media Center. Although it's still .NET, I...
Filed under: ,
1
Comments

Good Old GDI+ (or: Unblur Thy Text) by aelij

It's been a while since I've done anything with GDI+ (i.e. System.Drawing). System.Windows (i.e. WPF) is so much more powerful. However, there's one area where it seems the good old GDI+ can still surpass it's shiny new successor: text. There have been...
Filed under: ,
2
Comments

Writing Methods and Classes in LINQPad by aelij

LINQPad is a very useful code snippet IDE. I use it all the time to test small pieces of code. It's much more convenient than opening a new Visual Studio console application. It also formats the results very nicely. What seems to be missing in LINQPad...
Filed under: ,
3
Comments

C# Partial Specialization With Extension Methods by aelij

One of the things C# generics lacks ( compared to C++ templates) is specialization (neither explicit nor partial). This can be very useful in some cases where you want to perform something differently for a specific T in a Class<T> . With C# 3.0...
Filed under: ,
0
Comments

Vista Fish by aelij

About a month ago I went on a trip to London. I just got to uploading the photo album . One of the places we visited there was the London Aquarium . I took a photo of some glass catfish , which reminded me of Windows Vista:
Filed under: ,
4
Comments

The WPF Contrib Project by aelij

I've been quiet for a while. Working a lot, and also burning the midnight oil, trying to bring life into this project I call... the WPF Contrib . Set up at CodePlex, WPF Contrib is mainly a library of reusable components. My goal is for it to become...
Filed under: , ,
More Posts Next page »
Powered by Community Server (Non-Commercial Edition), by Telligent Systems