Re: XP Themes and IE
From: Ying-Shen Yu[MSFT] (v-yiy_at_online.microsoft.com)
Date: 07/13/04
- Next message: Jalal Akram: "CheckBoxes In TreeView"
- Previous message: Ying-Shen Yu[MSFT]: "Re: How to determine the width of a single character in TextBox?"
- In reply to: Wells Caughey: "Re: XP Themes and IE"
- Next in thread: Wells Caughey: "Re: XP Themes and IE"
- Reply: Wells Caughey: "Re: XP Themes and IE"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 13 Jul 2004 02:41:19 GMT
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: Jalal Akram: "CheckBoxes In TreeView"
- Previous message: Ying-Shen Yu[MSFT]: "Re: How to determine the width of a single character in TextBox?"
- In reply to: Wells Caughey: "Re: XP Themes and IE"
- Next in thread: Wells Caughey: "Re: XP Themes and IE"
- Reply: Wells Caughey: "Re: XP Themes and IE"
- Messages sorted by: [ date ] [ thread ]