MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / getIsFixedSize

Method getIsFixedSize

ElaWidgetTools/ElaAppBar.cpp:323–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected