![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Trouble customizing a frame in WPF Hello- I am doing some testing for an upcoming project and have run into some trouble. I have a frame tag with the source set to "http://live.com" as a test. However, I am unable to affect the opacity, or transform the tag at all. <Frame Canvas.Top="0" Canvas.Left="0" Height="420" Width="600" ScrollViewer.CanContentScroll="False" Source="http://live.com"></Frame> any help would be greatly appreciated, as it seems I can't do anything to the frame! Thank you. Chris |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: Trouble customizing a frame in WPF Visual elements that host content which isn't WPF related, such as the frame holding HTML don't support most of the translations or custom WPF effects. Under the covers, the frame is hosting the IE web browser object to render the HTML. Most translations and effects rely on the composition engine which puts things together in memory and then displays it to the underlying single HWND for the window. The IE web browser control creates its own HWND and so WPF simply cannot do its magic in this case. This problem isn't unique to Frame, it also happens with any embedded Windows Forms control, ActiveX control, etc. You might check out the RSS sample Microsoft posted recently - it has some code in it to parse and render HTML natively in WPF IIRC. You could use something similar to display your HTML content and get the effects you desire. Good luck, Mark Smith |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: Trouble customizing a frame in WPF Visual elements that host content which isn't WPF related, such as the frame holding HTML don't support most of the translations or custom WPF effects. Under the covers, the frame is hosting the IE web browser object to render the HTML. Most translations and effects rely on the composition engine which puts things together in memory and then displays it to the underlying single HWND for the window. The IE web browser control creates its own HWND and so WPF simply cannot do its magic in this case. This problem isn't unique to Frame, it also happens with any embedded Windows Forms control, ActiveX control, etc. You might check out the RSS sample Microsoft posted recently - it has some code in it to parse and render HTML natively in WPF IIRC. You could use something similar to display your HTML content and get the effects you desire. Good luck, Mark Smith |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Alt-Tab Frame Drop CS:S | rockster | Gaming | 14 | 4 Weeks Ago 09:43 PM |
| frame rates | gazz496 | Graphic cards | 2 | 06-18-2008 04:51 PM |
| dot net frame work | davi | .NET General | 0 | 03-29-2008 11:50 AM |
| customizing right_click->new | montyphyton@gmail.com | Vista General | 0 | 06-06-2007 04:59 AM |
| Customizing Contacts | nezos | Vista mail | 0 | 05-04-2007 02:01 PM |