| 321 | Q_D(ElaAppBar); |
| 322 | d->_pIsFixedSize = isFixedSize; |
| 323 | #ifdef Q_OS_WIN |
| 324 | HWND hwnd = (HWND)d->_currentWinID; |
| 325 | DWORD style = ::GetWindowLongPtr(hwnd, GWL_STYLE); |
| 326 | if (d->_pIsFixedSize) |
| 327 | { |
| 328 | //切换DPI处理 |
| 329 | style &= ~WS_THICKFRAME; |
| 330 | ::SetWindowLongPtr(hwnd, GWL_STYLE, style); |
nothing calls this directly
no outgoing calls
no test coverage detected