> I think this always turns on VisualStyles, even when the user has not 
> called Application.EnableVisualStyles.  Please fix.

It was on purpose. Application.EnableVisualStyles is not the only way to have 
an application rendered with Visual Styles. For .NET Framework 1.0 (which does 
not have Application.EnableVisualStyles), the developer is told to include a 
manifest. That case would probably require fixing the code related to Visual 
Styles in Application and VisualStyleInformation. I can try to do that if you 
want. My opinion is that we should support it.

Anyway, I have attached a version of the patch that uses XplatUI.ThemesEnabled.


      

Attachment: ThemeVisualStyles handling for theme changes 2.patch.gz
Description: application/gzip

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to