October 20, 2005

Am I Blue?

Just a quickie post with a picture for those of you who may not know what I look like. Actually, you still won't know what I look like because this was my Halloween 2005 costume. A "Blue Man"

This whole effect was accomplished using simple make-up items from "The Costume Shop" in Garden City, Idaho.
  • I prepped myself with a good shave and a haircut
  • The skin-head wig was prepared using Caster Sealer. This helped it to have a less streaky appearance than it would have had otherwise. This is bascally castor oil, but it makes the latex skin less slippery.
  • I positioned the skin-head over my hair and ears and then glued it in place with stage glue.
  • We applied Cobolt Blue Greasepaint to my entire head and neck.
  • I'm wearing a black turtleneck shirt with black pants, shoes and socks.

The entire process took about an hour.

Total cost: $20

October 10, 2005

Loss of Focus

It would appear that the venerable GDI routine "DrawFocusRect" and the MFC routine "DrawFocusRectangle" have lost a bit of functionality in their .net contemporary function "DrawFocusRectangle".
In the old world, you could draw the focus rectangle once to draw it, and then again to erase it because it uses an XOR pen to draw the familiar dashed box. Under the .net version "ControlPaint.DrawFocusRectangle", it doesn't use an XOR pen, so you can't erase it with another call.
There is a function called "DrawReversableFrame", that will erase itself, but it doesn't take a parameter containing the graphics object, so you have to manually transform the coordinates to screen coordinates.
A change like this is really not very understandable because it means that somebody had to create a function from scratch rather than wrapping the windows functions (as they did most of the time).

Brent: Programmer. Gamer. Cheapskate. All around good guy.

So... not being one that can leave a sore spot alone, when Brent Brown sent me an email Brent his "preferred" blog link so that I could update the link I had created to Stubenville, I naturally couldn't just update my previous blog entry. I needed to take the opportunity to pour lemon juice, salt, and vinegar into the wound until it became a pulp of agonized flesh. It may be because that's the way I am, but it may also be because Brent really needs this kind of opposition in his life. After all, he has a wonderful wife and cute kids, but as far as I can see, nobody that really gives him the harassing that he needs to keep his life in balance. That's where I come in.
I don't know what the big deal is... after all, I liked the Stubenville (not Stupid-ville, that's a whole other wound that needs opening from time to time) thread. However, since he isn't there any more, I suppose that it has a limited shelf life. So, if anyone actualy reads my blog, you should also read his because he has far more time on his hands to talk about cool stuff like the "Using" statement in C# and dot net 2.0.