Small update for the CAB Outlook Bar. It has XP Theme support now. Download here. It’s also been redesigned slightly from a graphics standpoint to look a little better (there were some border issues that I wanted to fix so it now looks more like the real OutlookBar).
Credit for the theme support goes to Allastair Dallas and his article on the CodeProject. This is probably not the ideal way to provide theme support for a control, but it works (for now). If the OutlookBar can’t detect themes if fails silently and by default displays the XP Blue theme. It also handles the OnSystemColorsChanged event so if the user changes themes while the application is open the OutlookBar updates itself.
I’m not an expert GUI developer so anyone who feels like chiming in with a better way to handle these sorts of theme issues go ahead
In my development area we can guarentee 100% XP desktops so this is, as usual, good enough for me
I’ve also updated the instructions on the previous post as I forgot to mention the need to register the OutlookBarItemCommandAdapter and the OulookBarUIAdapterFactory prior to creating it. See that post for full details.