Using VSIP 2003 w/Extras in C#...
I have a custom Tool Window hosting a UserControl. FlatStyle properties for
child controls are set. If the UserControl is hosted in a standalone app
using Application.EnableVisualStyles, it looks 'XP'. However, if the control
is in a VS Tool Window, no XP styles.
How do I get XP visual styles in a Tool Window? Thanks.
Greg
Hey Greg -
In Visual Studio 2005, we have XP visual style support a very high priority,
however this is unsupported under VS 2003. In order for an application to get
the XP Look+Feel, your application needs to tell Windows to use ComCtl v6
when available. This can be accomplished by using the EnableVisualStyles()
method in managed code, or by creating a manifest file with either native or
managed applications.
If you try running your tool window under VS2005 Beta 1 you should find that
it picks up XP visual styles just like it does when running in a standalone
app. Unfortunately, this won't ever be supported under 2003.
Cheers,
Aaron Brethorst
User Experience Program Manager
Visual Studio Core - Platform Team
> Using VSIP 2003 w/Extras in C#...
>
[quoted text clipped - 6 lines]
>
> Greg
Greg - 14 Oct 2004 16:33 GMT
Thanks, Aaron. I thought that may be the case. Just looking for the "official
word". I had it working in a standalone app, but couldn't get it VS2003.
Greg
> Hey Greg -
> In Visual Studio 2005, we have XP visual style support a very high priority,
[quoted text clipped - 23 lines]
> >
> > Greg