Hello,
I think the only way to get the glass style into your own window is to
interop into Win32 and call the DWM methods directly (e.g.
DwmExtendFrameIntoClientArea).
Best regards,
Henning Krause
"Jiayin" <Ji****@discussions.microsoft.comwrote in message
news:BF**********************************@microsof t.com...
>I am now trying to host a WPF control into a MFC application and get the
Aero
glass look on the WPF control. (Something like what Office2007 is doing to
its ribbon)
What should be the container of the WPF control so that I can get Aero
Glass
look?
I tried with a System.Windows.Window, I got the Aero Glass look. But it
seems that a Window must be the root element and can not be hosted in the
MFC
window.
I also tried to use a System.Windows.Control.UserControl, but I didn't
achieve Aero Glass look on it.
Did I miss out anything? Is it possible (and How) to achieve Aero Glass on
an UserControl? If not, What control?/window? should I use?
Thanks