I'd like to create a window, using WPF, that has a thin border all the way around the form - i.e. no space for the title bar with the icon/caption and min/max/close buttons. For example, the "extra" icons form of the new Windows 7 taskbar:
Example Image http://img576.imageshack.us/img576/6196/border.png
I understand this can be done by setting the WindowStyle = None
property, however, I am also using the DwmExtendFrameIntoClientArea
API, which requires that the Background
property be transparent. If I do this neither the window nor border are drawn, and only non-transparent controls on the form are drawn.
How can I achieve the thin border, whilst maintaining an Aero Glass effect on the main body of the form?