Re: XP Themes and IE
From: Wells Caughey (wellscaughey_at_hotmail.com)
Date: 07/13/04
- Next message: Stoitcho Goutsev \(100\) [C# MVP]: "Re: get Handle to an Application/Window, not a Process"
- Previous message: Greg Burns: "Re: VS.NET-like interface: Docked Panels, Tabs, etc"
- In reply to: Ying-Shen Yu[MSFT]: "Re: XP Themes and IE"
- Next in thread: Ying-Shen Yu[MSFT]: "Re: XP Themes and IE"
- Reply: Ying-Shen Yu[MSFT]: "Re: XP Themes and IE"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 13 Jul 2004 09:40:19 -0400
Ying-Shen,
Thank you the link; the article explained the interaction between .NET and
XP very clearly. Unfortunately I don't think I can use the unmanaged API
because that would require the application to be fully trusted. Part of the
reason that we are opting to distribute the application as a control on a
web page is to cut down on administrative burdens, and requiring my app to
be fully trusted would require an administrator to reconfigure the .NET
security policy on potentially all of the client machines.
Thanks again,
Wells
""Ying-Shen Yu[MSFT]"" <v-yiy@online.microsoft.com> wrote in message
news:rX6tsLIaEHA.2352@cpmsftngxa06.phx.gbl...
> Hi Wells,
>
> In .NET v1.0 and v1.1 you will need to do custom activation context
> management to get visual styles for IE host scenario, however it needs
some
> P/Invoke which needs the Unmanaged code permission to work properly, You
> may read this blog to know more about how windows forms implements the
> visual style support in EnableVisualStyle method:
> http://blogs.msdn.com/rprabhu/archive/2003/09/28/56540.aspx
>
> If it's ok to have the Unmanaged Code permission in your application,
> please let me know, I can send you a sample for how to create the
> activation context management.
>
> In .NET v2.0 you may use Application.EnableVisualStyle to enable visual
> style in IE host scenario.
>
> Thanks!
> Best regards,
>
> Ying-Shen Yu [MSFT]
> Microsoft Community Support
> Get Secure! - www.microsoft.com/security
>
> This posting is provided "AS IS" with no warranties and confers no rights.
> This mail should not be replied directly, please remove the word "online"
> before sending mail.
>
- Next message: Stoitcho Goutsev \(100\) [C# MVP]: "Re: get Handle to an Application/Window, not a Process"
- Previous message: Greg Burns: "Re: VS.NET-like interface: Docked Panels, Tabs, etc"
- In reply to: Ying-Shen Yu[MSFT]: "Re: XP Themes and IE"
- Next in thread: Ying-Shen Yu[MSFT]: "Re: XP Themes and IE"
- Reply: Ying-Shen Yu[MSFT]: "Re: XP Themes and IE"
- Messages sorted by: [ date ] [ thread ]