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

Ernesto equistango at gmail.com
Wed Apr 23 15:03:37 EDT 2008


I'm working on a VisualStyles theme. I have a little work done, but it's 
a bit stalled because of other commitments.
Should someone need it, I can send what I have done so far (which is 
basically command button, scrollbars, checkbox and radio button).

Regards,
Ernesto

Jonathan Pobst escribió:
> 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
>>     
>
> _______________________________________________
> 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