[Mono-winforms-list] Enabling VisualStyles in the 1.1 profile

Rafael Teixeira monoman at gmail.com
Wed Apr 23 14:34:18 EDT 2008


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>
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
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20080423/ebb99436/attachment.html 


More information about the Mono-winforms-list mailing list