Here's how to do it. (Requires Windows Vista and some willingness to fiddle with how your app paints itself).