[Mono-winforms-list] Theme selection

George Giolfan georgegiolfan at yahoo.com
Tue Jul 8 15:31:46 EDT 2008


> 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.


      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ThemeVisualStyles handling for theme changes	2.patch.gz
Type: application/gzip
Size: 5044 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20080708/f1de3be5/attachment.bin 


More information about the Mono-winforms-list mailing list