I have an app that uses WinExplorerBar, and we expose the ViewStyle enum via a drop-down menu so that the user can pick which style they want the Explorer Bar to have. This works great when I haven't loaded a style libarary. However, when I load up a custom style library (via StyleManager.Load("SomeStyleLibrary.isl")), all of the ViewStyles yield the exact same look for the explorer bar. How do I prevent this from happening?
I'm a little confused about your problem. Are you saying when you change the ViewStyle for the UltraExplorerBar you aren't seeing the ViewStyle change on the control, or are you saying when you change the ViewStyle for the UltraExplorerBar your UltraExplorerBar still has the same color's applied?
Sorry, let me re-explain. Scenario 1:
Scenario 2:
The only code differences between Scenarios 1 and 2 are limited to one line of code:
StyleManager.Load("MyStyleLibrary.isl");
In Scenario 1, this line is commented out. HTH.