[Mono-winforms-list] Enabling VisualStyles in the 1.1 profile
Jonathan Pobst
monkey at jpobst.com
Wed Apr 23 14:54:19 EDT 2008
George is our SoC student working to make a theme that uses VisualStyles
so we can get a more-native look in winforms. He isn't writing an
application that wants to use VisualStyles on the 1.1 platform. :)
Jonathan
Rafael Teixeira wrote:
> That won't work in .NET 1.1.
>
> If an application needs Visual Styles while running on 1.x profiles, it
> should either:
> 1) demand version/profile 2.0 as a dependency.
> -or-
> 2) have it's own implementation of that code (you can reuse Mono's
> MIT-licensed code, if needed)
>
> AFAIR, VisualStyles is scattered all around winforms controls, so you
> need to build an wrapping layer, extending them with that feature.
>
> :|
>
> On Wed, Apr 23, 2008 at 2:19 PM, George Giolfan <georgegiolfan at yahoo.com
> <mailto:georgegiolfan at yahoo.com>> wrote:
>
> Hello,
>
> I am implementing a theme that uses the VisualStyles
> API. I assume it will need to support the 1.1 profile
> so I will need a way to call the VisualStyles code
> from the 1.1 version of the theme code even if
> VisualStyles is a 2.0 feature. Please review the
> attached patch. Basically it attempts to always
> compile the code but make it public only on 2.0.
>
>
>
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
> <mailto:Mono-winforms-list at lists.ximian.com>
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
>
>
>
> --
> Rafael "Monoman" Teixeira
> ---------------------------------------
> "I myself am made entirely of flaws, stitched together with good
> intentions."
> Augusten Burroughs
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
More information about the Mono-winforms-list
mailing list