- 
    
Bug
 - 
    Resolution: Done
 - 
    
  Not Evaluated                     
     - 
    5.6.1
 - 
    None
 - 
    Windows 10
 
- 
        c9e1cf516fdce567e54b5d5f4ea9d44164b3e28c (qtbase/dev, 20.,11.2016, 5.9)
 
I am implementing a custom window decoration for a project on Windows 10 by handling WM_NCCALCSIZE (and WM_NCPAINT, WM_NCHITTEST, ..) message. The custom border and caption sizes I return upon WM_NCCALCSIZE never match the values returned by QWidget::frameGeometry(). Looking into Qt code, the problem is because QWidget::frameGeometry() uses AdjustWindowRectEx().
- duplicates
 - 
                    
QTBUG-2562 Use WM_NCCALCSIZE when drawing window frames on Windows.
-         
 - Closed
 
 -         
 
| For Gerrit Dashboard: QTBUG-56591 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 176621,4 | Windows QPA: Reimplement calculation of window frames | dev | qt/qtbase | Status: MERGED | -2 | 0 |