[Mono-winforms-list] Skinned winforms

Jonathan Pobst monkey at jpobst.com
Wed Jun 13 11:23:50 EDT 2007


Given that the strip menu is generally a gradient, I don't think there 
is a built-in way to give the text box a gradient background.  You could 
probably override the ToolStripTextBox and provide an overridden TextBox 
where you custom paint the background to a gradient, but it would be 
tricky to make the gradient match.

How would you do this in .Net?  If it's not p/invoke or something, it 
should probably work.

Jon


Paul F. Johnson wrote:
> Hi,
> 
> I'm trying to create a winform which needs to have a non-standard design
> (basically, it needs to have something which looks like this
> 
> +-----------------------------------------------+
> |  Windows Form                                 |
> +-----------------------------------------------+
> | File  Search             / ? +--------------+ |
> +--------------------------|   +--------------+ |
> | some colour                                   |
> |                                               |
> +-----------------------------------------------+
> 
> so the bit with the search box comes on the same line as the strip menu but
> with the same colour as the "some colour" below it.
> 
> Does anyone know how to do this sort of skinning and more over, will it work
> in Mono 1.2.4? I know this sort of thing can be done in .NET 2
> 
> TTFN
> 
> Paul
> 
> --
> Get your free @ukpost.com account now
> http://www.ukpost.com/
> 
> _______________________________________________
> 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