Eureka. After days of fighting trying to figure out exactly, what styles are hidden inside UxTheme.dll (aka XP Visual Styles), I found: the
Managed Theme ExplorerManaged Theme Explorer on Code project. Sweet inside of 5 minutes, everything I need to know.
Why couldn't MS have given a managed code wrapper for themes? Why couldn't they have documented the contents UxTheme.dll? It would have saved me a lot of pain.
with 3 month old daughter talking beside me is pretty cool
Last week Brad Abrams in
Why can't NullReferenceException tell you the type of the instance that was null? remarked "
the .NET Framework and WinFX generally do argument checking on all publicly exposed APIs" and then asked "
… Are they worth it?".
Absolutely - the small performance cost, saves me from far bigger problems on a regular basis. In addition its inspired our team to use arg checks throughout our code. They've never been a performance problem for us < 1% our time is spent doing arg checks.