How can you place controls on a frame of a WPF window?
I took a look at this but I don't know how to do this in WPF. link text
The problem comes when The application has to run on Windows XP where there is no DWM support.
Also, if this is running on Vista without DWM, could the article still work?
views:
61answers:
1
+1
A:
The article will not work, at least not exactly as written.
In order to do this on XP, you use the same basic technique, but you need to actually "draw" the chrome yourself, since the DWM doesn't exist in order to do it for you.
Reed Copsey
2010-03-23 19:25:27
How would you do that in WPF though? Is it possible to do something like:[code]<Window .....><br><Window.Title><br/><Button> Button in window title </Button><br></Window.Title><br></Window><br>[/code]
AKRamkumar
2010-03-23 19:40:29
No. You need to make the Window have NO title area, and draw that, manually, using WPF's drawing. It is not trivial, unfortunately.
Reed Copsey
2010-03-23 19:56:19
Would glass transparency work however?
AKRamkumar
2010-03-23 21:15:54
@AKRamkumar: "Glass transparency" is part of Aero, which is Vista+ only. It works via the DWM.
Reed Copsey
2010-03-23 21:24:36