OutlookNavBar control preview (Attached file updated)
Like I said in some VFP forums, I'm working on a new control named OutlookNavBar (download the project clicking in the link at the end of this post).
This new control basically do the same that Outlook2003Bar does, but not use GDI+ to create images and handle Themes tasks using a new class named ThemesManager.
Now the project has two classes:
OutlookNavBar.vcx - with the new improved control based on Outlook2003Bar;
ThemedControls.vcx - with lot of "themed" controls and a subclass of OutlookNavBar named ThemedOutlookNavBar.
How this new ThemedControls class work?
Firstly you need to do is create an object based on ThemesManager control and place them in a property named ThemesManager on _Screen and destroy the object when it will not used anymore - as you can see in Load and Unload method of ThemedForm control.
This object will be used to handle all theme changes.
So, create a form and place the controls from ThemedControls class and voila!
Take a look at Sample form to a better view of how this class works.
ASAP, I will post more details.
Feel free to make comments, send suggestions or report any bug.
Here is a screenshot...