Wrestling WTL

I was too busy wrestling with WTL yesterday to post anything.  WTL is Microsoft's unsupported C++ template library for Win32 UI.  Its just like ATL but seriously undocumented.  Strangely enough, WTL is popular.  Popular enough for Microsoft to keep updating it in step with ATL despite several efforts to drop it.  Anyway, I was busy yesterday trying to coerce a dialog to auto-layout on resize.  Usually, this is pretty simple stuff, but the dialog just happened to be a wizard which loads in several forms into same dialog.  I wasn't expecting this much trouble over resize, but I had to fight through it.

It was not unlike our war with Iraq which seems to be going well enough for an armor column to go for a joyride through Baghdad.  Who knows if anyone will ever notice, let alone use, that tiny sizebox on the bottom right and appreciate the gruntworks this highly paid consultant went through to get it working.  Sometimes I spend days fiddling with architectures and diagrams.  Other times, I am huddled in a corner like a clockmaker and grunts all day.  Yeah, its difficult to explain to my son what I do for a living.