Metro Window Glass Doesn't "Drag Resize" in Windows 7

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 12 years ago by Andy Ver Murlen
Version: 12.2.0570
Platform: .NET 4.5
Environment: Windows 8 (64-bit)
Avatar

As the title indicates.  One of the nice features of Windows 7 is the abililty to drag a window to the top of the screen and have it automatically maximize or drag a window to the side of the screen and have it automatically resize to allow side by side windows.  The Actipro Ribbon Window with any other theme does this, however when themed with Metro Light, it no longer works.

Comments (1)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Andy,

That feature is system driven and requires dragging to be performed via Windows API.  At the moment RibbonWindow doesn't drag that way when "glass" isn't active so that feature doesn't kick in.  If "glass" is active it will work.

In version 2012.2 we started work on a new WindowChrome class that converts any WPF Window to have a Metro-style UI.  In that, we used some updated designs where it's fully chromed but Aero snap still works as expected.  You can see this in the new demo in the Themes section of the Sample Browser.

At the moment, that WindowChrome class won't work with RibbonWindow though.  We do have plans to try and move a lot of the RibbonWindow code out and enhance WindowChrome to support the glass features so that WindowChrome can be used to render RibbonWindow and have the features work consistently there.


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.