I need to owner draw an RTB to give it a standard style for an App I'm writing.
Is there a managed solution to invoke the Theme APIs in UxTheme.dll?
Right now I'm just doing a bunch of [DllImports] using the InteropServices but it's not as elegant as I'd like.
Does anyone have a managed wrapper either written or is there one that comes by default with .NET 2.0? This is really a shame that this isn't included.
It's the System.Windows.Forms.VisualStyles namespace in .NET 2.0.
MSDN: ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/CPref18/html/N_System_Windows_Forms_VisualStyles.htm (http://ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/CPref18/html/N_System_Windows_Forms_VisualStyles.htm)
[link]http://www.jinxbot.net/netskinex/[/link]
Quote from: Zer0 on October 09, 2006, 12:18 AM
[link]http://www.jinxbot.net/netskinex/[/link]
That's not how the theming API works. The theming API assists custom control developers by drawing components on-demand. .NETskinEx overrides the default implementation of non-client area drawing.
Thanks.