Small bug in RibbonWindow on Vista / Windows 7

Ribbon for WPF Forum

Posted 13 years ago by SledgeHammer01
Version: 11.1.0542
Platform: .NET 4.0
Environment: Windows 7 (32-bit)
Avatar
1) run sample Document Editor (like Word)

2) while the window is windowed (i.e. not maximized), position the mouse on the TOP edge of the window so you get the north / south cursor

3) double click -- you'll notice no effect

4) repeat step #2 on the BOTTOM edge, double click -- now the window will stretch as expected

This is a Windows 7 (and Vista) UI feature, double clicking while the cursor north / south on the top / bottom edges is supposed to stretch the window vertically (or restore it if its already stretched). With RibbonWindow, it only works on the bottom edge.

Comments (3)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
This is a known issue and is caused by the API hack we have to do to move the WPF window's client area up so that we can render things like the QAT in the real title bar area. The hack to allow rendering in the title bar area causes this issue and a couple others. We unfortunately haven't found another way to get WPF content to render in the glass titlebar thus far.


Actipro Software Support

Posted 13 years ago by SledgeHammer01
Avatar
In that case, is there a possibility for you guys to hack in the top edge double click stretch functionality? Doesn't seem like too complicated of an algorithm... just fills the desktop vertically and/or restores the original height.
Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
We can add it to the TODO list.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.